3 ms·
https://nodejs.org/docs/latest/api/typescript.html#typescript-features https://nodejs.org/docs/latest/api/typescript.html#typescrip... > Since Node.js is only
by jakub_g 2y ago
https://nodejs.org/docs/latest/api/typescript.html#typescript-features https://nodejs.org/docs/latest/api/typescript.html#typescrip...
> Since Node.js is only removing inline types, any TypeScript features that involve replacing TypeScript syntax with new JavaScript syntax will error, unless the flag --experimental-transform-types is passed.
> The most prominent features that require transformation are:
> Enum
> namespaces
> legacy module
> parameter properties
- lost_womble 2y agoYes, so an experimental flag will be required for use in production, which is a clear reason to not use them.