update the node version to latest LTS - #1229
Merged
Merged
Conversation
khelwood
approved these changes
Jul 30, 2026
yoldas
reviewed
Jul 30, 2026
sabrine33
commented
Jul 30, 2026
Contributor
Author
There was a problem hiding this comment.
Module does not support es2024 (nor es2025) entry. - so left it to esnext
TypeScript hasn't defined a distinct module emit profile for those years because no new ECMAScript module-system features were introduced that would require one — es2022 already covers top-level await, and anything newer is folded into esnext.
esnext is a moving target that always maps to the latest module features TypeScript supports, so it's accepted even when a specific year isn't. If/when new module-level syntax lands (e.g. import attributes stabilizing), the team may add an es2024/es2025 value — but until then, only the explicitly listed years are valid.
setting target to es2024 - as failing with value not valid with es2025
lib does not support es2025 too
yoldas
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
update the node version to latest LTS 24.18.0
update tsconfig file accordingly to : https://github.com/tsconfig/bases/reverting the tsconfig.file file as that requires ts upgrade along other libraries too. And setting the target to 'esnext' as that latest ECMAScript version.
The "target" option in tsconfig.json tells the TypeScript compiler which version of JavaScript to compile your code down to.