Migrate tsconfig to TypeScript 6.0.2 compatibility#4030
Closed
Copilot wants to merge 3 commits into
Closed
Conversation
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.2) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.2 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Agent-Logs-Url: https://github.com/cybersemics/em/sessions/9c414ba5-88f1-46e6-8291-707f106b86e3 Co-authored-by: raineorshine <750276+raineorshine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Bump TypeScript from 5.9.3 to 6.0.2
Migrate tsconfig to TypeScript 6.0.2 compatibility
Apr 3, 2026
Copilot stopped work on behalf of
raineorshine due to an error
April 3, 2026 19:06
3633eab to
5cd0ccf
Compare
d000f9b to
3057dfc
Compare
Contributor
|
Too far out of date. |
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.
TypeScript 6.0 deprecates
downlevelIterationandmoduleResolution: "node"(node10) as hard errors, blocking compilation. Switching tomoduleResolution: "bundler"also surfaced two pre-existing bugs.Changes
tsconfig.json: RemovedownlevelIteration(redundant withtarget: "es2018") and changemoduleResolution: "node"→"bundler"(correct for Vite projects)packages/webview/package.json: Fixtypesfield fromdist/esm/index.d.ts→dist/esm/src/index.d.ts— the file never existed at the declared path; the stricterbundlerresolution surfaced thissrc/e2e/puppeteer/setup.ts:declare module global→declare namespace global—bundlerresolution enforces thenamespacekeyword for global ambient declarations