feat(deps): upgrade TypeScript to v7 native compiler (tsgo)
- Upgrade typescript from ^6.0.3 to ^7.0.1-rc (native Go compiler) - Fix type errors caught by TS7's stricter generic variance checking in RequestError instantiation (3 handler files) - Update apps/docs/tsconfig.json: remove deprecated baseUrl, bump target from es5 to ES2022 (both removed in TS7) - Add TS7 to minimumReleaseAgeExclude (rc release within cutoff) Benchmark results (cold, 37 packages): TS6: 6m49s -> TS7 native: 1m35s (~4.3x faster) Incremental/warm: ~24x faster (17s for full project)
This commit is contained in:
1 parent
55fb227305
commit
6e3045029c
7 files changed
+549
-345
No files matched your search
@@ -2,8 +2,7 @@
|
||||
"extends": "@docusaurus/tsconfig",
|
||||
"compilerOptions": {
|
||||
"ignoreDeprecations": "6.0",
|
||||
"baseUrl": ".",
|
||||
"target": "es5",
|
||||
"target": "ES2022",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"allowJs": true,
|
||||
"skipLibCheck": true,
|
||||
|
||||
Reference in new issue
Block a user