lydell
July 7, 2026, 12:10pm
1
Ever wished that TypeScript knew about your ports and flags? Well, wish no more because it is finally here:
Generate TypeScript typings for the JavaScript interface of Elm apps.
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!
19 Likes
This is great, I appreciate the note about how to integrate it into elm-watch because that was also my first question: How do I use this in my build tool. Thank you for making awesome tooling!
2 Likes
lydell
July 14, 2026, 4:32pm
3
Just released 1.0.1. It fixes a crash if you run it via elm-watch hot.
3 Likes