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")
[ Parent
| on HN ]
Re:How the TypeScript Compiler Compiles
by SketchySeaBeast on Tuesday April 12, 2022 @09:35AM
(#31002507)
"You have 20 seconds to compile."
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.)