News for hackers. Stuff that matters.
Re:When to Use TypeScript – A Detailed Guide Through Common ... by ht85 on Sunday April 07, 2019 @01:04PM (#19598172)
Rewriting vanilla JS to Typescript isn't that big of a deal though. It would be more like building a house on a budget, then adding some fancy paint, furniture and alarm system.

In my experience, if you spend a few weeks in the "exploratory" phase writing ES6, rewriting to TS won't take more than one or two days.

Nowadays I'm a lot better at Typescript and will use it from the get go, but for someone who is less skilled in it, it might much faster to produce working code first and add types later.

Re:When to Use TypeScript – A Detailed Guide Through Common ... by true_religion on Monday April 08, 2019 @02:55AM (#19602766)
Alternatively, you can write in Typescript from the get go with most of the strict checks disabled, then only enable a certain check when you see the need.