Elm-ts-types: Generate TypeScript typings for the JavaScript interface of Elm apps

Ever wished that TypeScript knew about your ports and flags? Well, wish no more because it is finally here:

Run my tool and enjoy the extra type safety. No code changes needed – unless you now have uncovered a bug in your TypeScript to fix.

Me and @kantuni talked about this on Elm Camp. It gave me an idea and inspired me to try it out on my train home – and now it exists!

6 Likes