News for hackers. Stuff that matters.
Re:TypeScript Is Surprisingly OK for Compilers by orra on Friday August 18, 2023 @04:54AM (#37172963)
I'm afraid that's wishful thinking. JS compatibility is core to the TypeScript ethos, regardless of TypeScript's own popularity.

Besides, enums (?) aside, and ignoring typechecking, compiling TS is really easy right now. Switching to WASM is a high ask.

Re:TypeScript Is Surprisingly OK for Compilers by horsawlarway on Friday August 18, 2023 @07:55AM (#37174429)
JS compatibility is core to Typescript's own popularity.