Skip to content

The future of --experimental-transform-types #51

@marco-ippolito

Description

@marco-ippolito

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions