News for hackers. Stuff that matters.
Re:How the TypeScript Compiler Compiles by primitivesuave on Tuesday April 12, 2022 @05:39AM (#31000454)
Typo in the title (should be "Compiler" and not "Complier")
Re:How the TypeScript Compiler Compiles by SketchySeaBeast on Tuesday April 12, 2022 @09:35AM (#31002507)
"You have 20 seconds to compile."
Re:How the TypeScript Compiler Compiles by warcher on Tuesday April 12, 2022 @12:15PM (#31004632)
No this is typescript. They meant what they said. ;)
Re:How the TypeScript Compiler Compiles by chrisandchris on Tuesday April 12, 2022 @02:05PM (#31006245)
Does Typescript even compile or is it transpile?
Re:How the TypeScript Compiler Compiles by WorldMaker on Tuesday April 12, 2022 @02:29PM (#31006555)
Both. Type erasure is a transpilation process. Generating .d.ts and other type metadata files is a compilation process. (With conditional types alone the type checker is compiling a fully Turing complete mini-language.)