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-ts: Align with Node docs (for discussion) #298

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robpalme
Copy link

@robpalme robpalme commented Mar 2, 2025

This aligns node-ts.json with the recommended tsconfig in the Node docs for built-in *.ts support.

https://nodejs.org/api/typescript.html#type-stripping

I realize this was discussed two months ago in #293 but I missed that first time around and reading it back, it doesn't seem to directly answer the question of why these are not aligned. So please consider this a low-urgency discussion topic rather than something to be landed.

This aligns node-ts.json with the recommended tsconfig in the Node docs for built-in *.ts support

https://nodejs.org/api/typescript.html#type-stripping
@@ -4,6 +4,10 @@
"docs": "https://devblogs.microsoft.com/typescript/announcing-typescript-5-8-beta/#the---erasablesyntaxonly-option",
"_version": "23.6.0",
"compilerOptions": {
"target": "esnext",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was supposed to be a mixin placed at the end of an extends list: the TS extension thing seems good but I'm not sure about overriding the target or module.

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

Successfully merging this pull request may close these issues.

2 participants