> Any developer who's done many years of both TS and JS would never in a million years consider going back to JS.
Except, apparently, for the topic of this article.
> If I misspell something, or provide the wrong argument type to a method, or have args in wrong order, etc, it's caught instantly.
Yes, I've heard the pitch before. I've even given it more than a few times.
Of course, if both of your arguments happen to be 64-bit floats, then the type system won't help you much if you get them in the wrong order.
However, when you want to change that function to take a closure instead of a number, the type system can be invisible or it can fight you. Some of us love the structure that a type system can provide. Some of us, like the one who started this website we're on now, also appreciate the power of languages that get out of your way and let you make your own brilliant mistakes. And some of us can appreciate the beauty of different language designs and approaches, and try to rise above dogma. Which, if you've been in this line of work for 20+ years, should be you.