Closed reachfh closed 2 years ago
This corrects the typespecs, making it work with Dialyzer.
You can add Dialyzer to the project itself in dev and test environments (but not prod) by adding this to deps():
dev
test
prod
deps()
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false}
then run
mix dialyzer
Updated branch
This corrects the typespecs, making it work with Dialyzer.
You can add Dialyzer to the project itself in
dev
andtest
environments (but notprod
) by adding this todeps()
:then run