Skip to content

Migrate tsconfig to TypeScript 6.0.2 compatibility#4030

Closed
Copilot wants to merge 3 commits into
dependabot/npm_and_yarn/typescript-6.0.2from
copilot/sub-pr-4025
Closed

Migrate tsconfig to TypeScript 6.0.2 compatibility#4030
Copilot wants to merge 3 commits into
dependabot/npm_and_yarn/typescript-6.0.2from
copilot/sub-pr-4025

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

TypeScript 6.0 deprecates downlevelIteration and moduleResolution: "node" (node10) as hard errors, blocking compilation. Switching to moduleResolution: "bundler" also surfaced two pre-existing bugs.

Changes

  • tsconfig.json: Remove downlevelIteration (redundant with target: "es2018") and change moduleResolution: "node""bundler" (correct for Vite projects)
  • packages/webview/package.json: Fix types field from dist/esm/index.d.tsdist/esm/src/index.d.ts — the file never existed at the declared path; the stricter bundler resolution surfaced this
  • src/e2e/puppeteer/setup.ts: declare module globaldeclare namespace globalbundler resolution enforces the namespace keyword for global ambient declarations

dependabot Bot and others added 2 commits April 3, 2026 18:47
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 AI requested a review from raineorshine April 3, 2026 19:06
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.2 branch 2 times, most recently from 3633eab to 5cd0ccf Compare April 10, 2026 01:14
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-6.0.2 branch 3 times, most recently from d000f9b to 3057dfc Compare April 20, 2026 17:51
@raineorshine
Copy link
Copy Markdown
Contributor

Too far out of date.

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.

2 participants