Create specs in Elixir like Typer for erlang

Is there an easy way in Elixir to create type specs for existing elixir code? With Erlang one could use Typer but it would be nice to be able to create specs for the elixir code.

From editor you can use ElixirLS. I do not know if there is any tool to make it automatically as in Elixir it sometimes can get pretty hard and complex (due to macros).

2 Likes