aboutsummaryrefslogtreecommitdiff
path: root/src/gen_iq_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_iq_handler.erl')
-rw-r--r--src/gen_iq_handler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen_iq_handler.erl b/src/gen_iq_handler.erl
index aaa7861dc..6ca706f63 100644
--- a/src/gen_iq_handler.erl
+++ b/src/gen_iq_handler.erl
@@ -198,6 +198,8 @@ transform_module_options(Opts) ->
Opt
end, Opts).
+-spec opt_type(iqdisc) -> fun((type()) -> type());
+ (atom()) -> [atom()].
opt_type(iqdisc) -> fun check_type/1;
opt_type(_) -> [iqdisc].