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

fix: sync target and lib #277

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

Conversation

zanminkian
Copy link
Contributor

  1. See Question: Why lib and target are not the same in @tsconfig/nodexx #271 (comment), TS 5.5 now support es2023 target.
  2. Node18 and Node19 will not support some features of es2023. Therefore, Node18 and Node19's lib should be es2022.

Closes #217.

Refer: https://github.com/sindresorhus/tsconfig/blob/main/tsconfig.json#L7 created by sindresorhus.

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.

Node.js v18 & v19 don't support some es2023 features
1 participant