3 ms·
Does Typescript even compile or is it transpile?
by chrisandchris 5y ago
Does Typescript even compile or is it transpile?
- WorldMaker 5y agoBoth. 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.)