chore: fix diaylzer warnings

This commit is contained in:
JianBo He 2022-11-16 20:46:41 +08:00 committed by Zaiming (Stone) Shi
parent 9c7bf9d601
commit 09958d9a33
1 changed files with 3 additions and 1 deletions

View File

@ -122,7 +122,9 @@ limit(Params) ->
-type query_params() :: list() | map().
-type query_schema() :: [{Key :: binary(), Type :: atom | integer | timestamp | ip | ip_port}].
-type query_schema() :: [
{Key :: binary(), Type :: atom | binary | integer | timestamp | ip | ip_port}
].
-type query_to_match_spec_fun() ::
fun((list(), list()) -> {ets:match_spec(), fun()}).