fix(dialyzer): bad function spec for emqx_map_lib:deep_convert/3

This commit is contained in:
Shawn 2021-08-30 09:48:20 +08:00
parent ca327b7c55
commit 05fc6d9e45
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@
-export_type([config_key/0, config_key_path/0]).
-type config_key() :: atom() | binary().
-type config_key_path() :: [config_key()].
-type convert_fun() :: fun((K::any(), V::any(), Args::list()) ->
{K1::any(), V1::any()} | drop).
-type convert_fun() :: fun((...) -> {K1::any(), V1::any()} | drop).
%%-----------------------------------------------------------------
-spec deep_get(config_key_path(), map()) -> term().