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

Node is now supporting TS by default: Codebase Cleanup #2

Open
pH-7 opened this issue Jan 8, 2025 · 0 comments
Open

Node is now supporting TS by default: Codebase Cleanup #2

pH-7 opened this issue Jan 8, 2025 · 0 comments

Comments

@pH-7
Copy link
Member

pH-7 commented Jan 8, 2025

Previously, by using --experimental-strip-types, it was possible to run TypeScript on Node.js, but this flag won't required anymore in Node JS, v23.6.

nodejs/node#56350

Since the flag is only being removed, we will still need to configure options like allowImportingTsExtensions. However, it's expected that these aspects will also be addressed in the next version of TypeScript!

Note: To use TypeScript features such as namespace and enum, the --experimental-transform-types flag will still be required.

Further more: https://www.totaltypescript.com/typescript-is-coming-to-node-23

@pH-7 pH-7 changed the title Node is now supporting TS by default Node is now supporting TS by default - Codebase Cleanup Jan 8, 2025
@pH-7 pH-7 changed the title Node is now supporting TS by default - Codebase Cleanup Node is now supporting TS by default: Codebase Cleanup Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant