← Back to context

Comment by bel8

10 days ago

even enums? last I tested, it did type-stripping only.

And looking ad docs, it seems it only has partial support still: https://nodejs.org/api/typescript.html

> To use TypeScript with full support for all TypeScript features, including tsconfig.json, you can use a third-party package. These instructions use tsx as an example but there are many other similar libraries available.

And this partial support is fairly recent. If it says anything other than "ts is fully supported exactly the same as js" then I'm gonna pass on ts.