diff --git a/src/jsx_consult.erl b/src/jsx_consult.erl index 2b0f1da..b1a4424 100644 --- a/src/jsx_consult.erl +++ b/src/jsx_consult.erl @@ -80,7 +80,7 @@ consult(File, Config) when is_list(Config) -> end. --type state() :: {list(), #config{}}. +-type state() :: {[], proplists:proplist(), {list(), #config{}}}. -spec init(Config::proplists:proplist()) -> state(). init(Config) -> {[], Config, jsx_to_term:start_term(Config)}.