aboutsummaryrefslogtreecommitdiff
path: root/src/shaper.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/shaper.erl')
-rw-r--r--src/shaper.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shaper.erl b/src/shaper.erl
index ac1ecc36f..803d235a0 100644
--- a/src/shaper.erl
+++ b/src/shaper.erl
@@ -168,5 +168,7 @@ transform_options({OptName, Name, none}, Opts) when OptName == shaper ->
transform_options(Opt, Opts) ->
[Opt|Opts].
+-spec opt_type(shaper) -> fun((any()) -> any());
+ (atom()) -> [atom()].
opt_type(shaper) -> fun (V) -> V end;
opt_type(_) -> [shaper].