-
Notifications
You must be signed in to change notification settings - Fork 252
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
type-stripping in Node.js recommendations? #287
Comments
I think we'd need a separate one for that, the type-stripping in node is experimental and requires flagging |
I'm not sure those are options that one should be enabling without understanding what you're doing already; those flags are also incomplete until TS adds the ability to block bad syntax and require |
A separate tsconfig sounds reasonable! Would you then wait for the tsconfig option mentioned (reference for others: microsoft/TypeScript#59601), or could we go ahead and provide a “strip-types” tsconfig that could be kept in sync with the Node.js recommendations for this mode going forward? |
TypeScript 5.8 beta was just released with a new It'd be great to see it as part of |
Node.js is adding native ts support. It would be great if the Node.js tsconfigs would follow the official recommendations: https://nodejs.org/docs/latest/api/typescript.html#type-stripping
The text was updated successfully, but these errors were encountered: