Update -spec(). for proper module readibility
Handle "Invalid type specification"
This commit is contained in:
parent
fc2a001073
commit
f80903b3f5
1 changed files with 1 additions and 1 deletions
|
@ -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)}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue