Re:Node.js can now execute TypeScript files
by lbltavares on Sunday August 17, 2025 @03:32AM
(#44929660)
Yes, it can't parse enums, for example.
[ Parent
| on HN ]
Re:Node.js can now execute TypeScript files
by dust42 on Sunday August 17, 2025 @04:05AM
(#44929813)
It is available behind an experimental flag: --experimental-transform-types
Re:Node.js can now execute TypeScript files
by beart on Tuesday August 19, 2025 @11:42AM
(#44952882)
I think enums are on their way out, and erasable syntax is one of the main reasons.
https://dev.to/ivanzm123/dont-use-enums-in-typescript-they-a...
They added an optional flag to disable enums (and a few other features) in 5.8