DEV Community

Discussion on: Migrating to TypeScript

Collapse
 
kayis profile image
K

I had the feeling, while TypeScript is rather close to JavaScript, that I write code differently in a statically typed language than in a dynamically typed one. Idiomatic TS isn't idiomatic JS, I guess. :D

Writing JS is like throwing untagged unions around everywhere, so I could imagine that typing that code with TS later could become some kind of hassle.

Anyway, I added this article to my reading list to get a better feeling for how big of a problem this really is. Thanks for writing it! :)