Yes, in writing ruby during my day job, I often have conflicting feelings about dynamic typing. The other advantage would be being able to do real static analysis, I would love that.
In Elixir you can annotate functions with type signatures and then use a tool like Dialyzer(1) to perform static analysis on the compiled bytecode. There is tooling that integrates with mix in Elixir called which makes this easy(2)