Skip to content

Fix TypeScript 6.0 compatibility: add dom to tsconfig lib#558

Merged
Gaardsholt merged 2 commits into
dependabot/npm_and_yarn/typescript-6.0.3from
copilot/sub-pr-554
May 2, 2026
Merged

Fix TypeScript 6.0 compatibility: add dom to tsconfig lib#558
Gaardsholt merged 2 commits into
dependabot/npm_and_yarn/typescript-6.0.3from
copilot/sub-pr-554

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 2, 2026

TypeScript 6.0 stopped implicitly exposing console and fetch as ambient globals under lib: ["ES2020"], breaking both the desktop (tsc) and web (webpack) builds.

Change

  • tsconfig.json: extend lib from ["ES2020"] to ["ES2020", "dom"]
-    "lib": ["ES2020"],
+    "lib": ["ES2020", "dom"],

Copilot AI changed the title [WIP] Bump typescript from 5.9.3 to 6.0.3 Fix TypeScript 6.0 compatibility: add dom to tsconfig lib May 2, 2026
Copilot AI requested a review from Gaardsholt May 2, 2026 16:02
@Gaardsholt Gaardsholt marked this pull request as ready for review May 2, 2026 16:07
@Gaardsholt Gaardsholt merged commit 3fd073c into dependabot/npm_and_yarn/typescript-6.0.3 May 2, 2026
2 checks passed
@Gaardsholt Gaardsholt deleted the copilot/sub-pr-554 branch May 2, 2026 16:07
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