Hacker News new | ask | show | jobs
by seanmcdirmid 2309 days ago
Typescript doesn’t really do code generation, it transpiles via pure type erasure unless you are targeting an older JS runtime.
1 comments

Which is what almost everyone does, because we don't control what browser customers use.
Yes, sort of. I don't bother with it since I just develop demos.

Anyways, it doesn't really matter that much given source line annotations. I wish TypeScript went with some more aggressive sugar so we could have nice things like operator overloading.