News for hackers. Stuff that matters.
Re:I’m porting the TypeScript type checker tsc to Go by postalrat on Tuesday January 25, 2022 @01:30PM (#30075869)
You compile ts without type checking when the options to do so are 10x+ faster than with type checking.
Re:I’m porting the TypeScript type checker tsc to Go by pjmlp on Tuesday January 25, 2022 @01:47PM (#30076125)
I really don't get this, when I save my TS files they are already compiled into JS on the fly, ready to fed into a <script />.
Re:I’m porting the TypeScript type checker tsc to Go by recursive on Tuesday January 25, 2022 @02:15PM (#30076563)
By what? What if they were updated from an upstream repo, and never saved from an editor? What if you change branches without an upstream repo?
Re:I’m porting the TypeScript type checker tsc to Go by pjmlp on Tuesday January 25, 2022 @02:49PM (#30077058)
By VS and VSCode, the IDE/editor that belongs to the same company that does TypesScript.

If I really need to call tsc explicitly, the few seconds that I have to wait, versus the minutes on some other languages, won't make me lose sleep over it.