-
Notifications
You must be signed in to change notification settings - Fork 263
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
@tsconfig/node22/tsconfig.json
uses the wrong module and moduleResolution!?!
#279
Comments
node22 doesn't exist, there's not been significant changes to the module system since node16 to my knowledge |
Now that TS 5.8 has hit final release, we're seeing some differences between node16 and nodenext (as well as between node18 and nodenext), especially around requiring ESM modules. The 5.8 release notes (at least for the RC, I don't think the final ones are up yet but I can't imagine we'll see much difference) are recommending This is like the opposite of A Big Deal but was reading the release notes and came to check on this repo figured I'd at least bring it up for discussion. (We switched to native ESM a while ago and haven't looked back; it works beautifully.) |
node 18+ configs should definitely be updated to reflect TS team recommendations from TS 5.8 post |
I still get the following error when running test script:
When I switch to
|
With node 20.19 now supporting |
TS 5.9 will have |
I'm not seeing objections to adjust the node 20/22 bases (other than there's no |
I can't say I especially like suggesting nodenext given it's a moving target, but I guess these packages are a moving target too, so, I guess? I'm not the arbitor of these packages 😄 |
Created a pull request, see #301 |
I hit the following error with
node22
base:Why
Node16
? Shouldn't it beNode22
orNodeNext
?The text was updated successfully, but these errors were encountered: