You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please checkout the CI problem.
The problem seems to be that the example in examples/typescript uses typescript-eslint which cannot use TypeScript 7 yet as it has no API.
This can be circumvented by also providing TypeScript 6 as described in the release note.
If there’s no clean solution for this, I think another possible approach would be to mark this PR as blocked, like in the eslint, rewrite, and js repositories, as mentioned in eslint/eslint#21070.
Since the generated .d.ts files would be the same with TS 6 and TS 7 (and TS 6 was mainly intended to bridge the transition to TS 7), I don’t think there’s a need to rush this PR.
Also, the type tests still run against the latest @typescript/native-preview, which should be very close to typescript@7.0.2.
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
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.
Prerequisites checklist
AI acknowledgment
What is the purpose of this pull request?
This PR updates TypeScript to v7.
What changes did you make? (Give an overview)
Updated
typescriptto^7.0.2and replaced the7.xtests with6.xtests.Related Issues
eslint/eslint#21070
Is there anything you'd like reviewers to focus on?