-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 library inclusions for ES2024 target #60622
Conversation
@microsoft-github-policy-service agree |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems correct to me.
// NOTE: We must reevaluate the target for upcoming features when each successive TC39 edition is ratified in | ||
// June of each year. This includes changes to `LanguageFeatureMinimumTarget`, `ScriptTarget`, | ||
// `ScriptTargetFeatures` transformers/esnext.ts, compiler/commandLineParser.ts and the contents of each | ||
// lib/esnext.*.d.ts file. | ||
// `ScriptTargetFeatures` transformers/esnext.ts, compiler/commandLineParser.ts, | ||
// compiler/utilitiesPublic.ts, and the contents of each lib/esnext.*.d.ts file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@billyjanitsch Sorry for the lack of information 🙇
NOTE comments exist in multiple files and I would like to have them updated as well:
src/compiler/types.ts
(two places)src/compiler/utilities.ts
src/compiler/transformers/esnext.ts
Also, please add these comments to src/compiler/utilitiesPublic.ts
.
@DanielRosenwasser should we take this as part of a patch to 5.7 or leave it for 5.8? |
I definitely think we should backport this, given ES2024 is not functional without it. @typescript-bot cherry-pick this to release-5.7 |
Hey, @jakebailey! I've created #60681 for you. This involved updating baselines; please check the diff. |
…e-5.7 (#60681) Co-authored-by: Billy Janitsch <billyjanitsch@gmail.com>
Fixes #60621.