Skip to content

add support to .tsx for --experimental-strip-types #56391

Closed as duplicate
Closed as duplicate

Description

@sibelius

What is the problem this feature will solve?

I would like to be able to run my backend code that has some .tsx files using node --experimental-strip-types

the current get_format.js function only handle .ts file extension, it should also accept .tsx

if (ext === '.ts' && getOptionValue('--experimental-strip-types')) {

What is the feature you are proposing to solve the problem?

I would like to be able to run my backend code that has some .tsx files using node --experimental-strip-types

What alternatives have you considered?

keep using esbuild, ts-node, rspack, swc

Activity

  1. added 2 commits that reference this issue on Dec 29, 2024
    07ff6fe
    63418d8
  2. JakobJingleheimer commented on Dec 29, 2024

    @JakobJingleheimer
    Member

    Duplicate of #56322

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

    feature requestIssues requesting new Node.js features.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions