Skip to content

Document Node.js native TypeScript execution as an alternative in supported scenarios #2167

Description

@joaopedrodcf

Desired Behavior

Node since 22.6.0 supports the --experimental-strip-types flag allowing to run node if the project doesn't use enums,etc

We could document as a warning that in situations where users don't need those features that node doesn't support they can just use node, instead of ts-node reducing the necessity for an external dependency.

Is this request related to a problem?

Users on these situations with a recent node version and without need enums, etc are using ts-node unnecessarily introducing one more dependency on their project

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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