Upgrade to TypeScript 7 (#34208)

* Upgrade to TypeScript 7

for massive tsc speed gains

Those on WebStorm will want to upgrade to EAP to reap the benefits of the new TSGo compiler

Some things (module-api & shared-components) which utilise unplugin-dts (and api-extractor) need to hold a copy of ts6 for its conventional lib format and API. TS7 ships with no API until TS7.1.

Other things which use eslint also need ts6 for typescript-eslint.

Some type changes were necessary as TS7 caught some issues.

* Add knip exception

* Fix bad merge
This commit is contained in:
Michael Telatynski
2026-07-14 08:09:03 +00:00
committed by GitHub
parent c6b52b8a73
commit b6859885a3
18 changed files with 523 additions and 244 deletions
+2 -1
View File
@@ -35,6 +35,7 @@
"@nx-tools/nx-container": "^7.2.1",
"@playwright/test": "catalog:",
"@types/node": "25",
"@typescript/native": "catalog:",
"@vitest/coverage-v8": "catalog:",
"cronstrue": "^3.0.0",
"eslint-plugin-element-call": "github:element-hq/element-call#livekit&path:/eslint",
@@ -49,7 +50,7 @@
"oxfmt": "0.56.0",
"oxlint": "^1.70.0",
"oxlint-tsgolint": "^0.23.0",
"typescript": "catalog:",
"typescript": "catalog:ts6",
"vitepress": "^1.6.4",
"vitepress-plugin-mermaid": "^2.0.17",
"vitest": "catalog:",