Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sibelius opened this issue Dec 29, 2024 · 1 comment
Closed

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

sibelius opened this issue Dec 29, 2024 · 1 comment
Labels
feature request Issues that request new features to be added to Node.js.

Comments

@sibelius
Copy link

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

@sibelius sibelius added the feature request Issues that request new features to be added to Node.js. label Dec 29, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Dec 29, 2024
sibelius added a commit to sibelius/node that referenced this issue Dec 29, 2024
sibelius added a commit to sibelius/node that referenced this issue Dec 29, 2024
@JakobJingleheimer
Copy link
Member

Duplicate of #56322

@JakobJingleheimer JakobJingleheimer marked this as a duplicate of #56322 Dec 29, 2024
@ljharb ljharb closed this as completed Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js.
Projects
Archived in project
Development

No branches or pull requests

3 participants