News for hackers. Stuff that matters.
Re:Making the Most of the JavaScript Language (2016) by WorldMaker on Friday August 04, 2017 @12:58PM (#14930052)
There's no time like the present to start! Typescript's allowJS compiler option and comment-based approach lets you start with the spaghetti you have and slowly transition to Typescript.

(Though I'm still fan of the "rip off the Band-Aid" approach I used in a few projects back in the day: rename every .js to .ts and then fix compiler errors until things compile. allowJS is a great option now.)

There are no comments on this comment yet.