diff --git a/apps/emqx/src/emqx_channel.erl b/apps/emqx/src/emqx_channel.erl index 553b038f6..e25a9c8d6 100644 --- a/apps/emqx/src/emqx_channel.erl +++ b/apps/emqx/src/emqx_channel.erl @@ -99,7 +99,7 @@ -type(channel() :: #channel{}). --type(opts() :: #{zone := atom(), listener := atom(), atom() => term()}). +-type(opts() :: #{zone := atom(), listener := {Type::atom(), Name::atom()}, atom() => term()}). -type(conn_state() :: idle | connecting | connected | reauthenticating | disconnected).