I wanted to talk about the future of --experimental-transform-types.
The feature has been stable for a while no outstanding issue.
The problem with this flag is that the syntax supported might change due to typescript deprecations (rip module which btw is already not supported just an example), syntax becomes supported in the js spec (Maybe enums one day 😆) etc...
Here a few options:
- remove the flag completely (I dont know if its even possible given the massive usage)
- Leave the flag experimental forever (I dont like this option)
- Mark the flag as stable but document that the changes in the syntax are not semver major therefore it can break)
- Mark the flag as stable and mark every syntax change as semver major (😫)
WDYT @nodejs/typescript
I wanted to talk about the future of
--experimental-transform-types.The feature has been stable for a while no outstanding issue.
The problem with this flag is that the syntax supported might change due to typescript deprecations (
rip), syntax becomes supported in the js spec (Maybe enums one day 😆) etc...modulewhich btw is already not supported just an exampleHere a few options:
WDYT @nodejs/typescript