Compile with TypeScript 7

typescript 7.0.2 is the native compiler, so this is a pin and not a second
toolchain. The docs site typecheck (new script, tsc --noEmit): 6 diagnostics
before and after. TS7 no longer resolves a bare CSS side-effect import, so
css.d.ts declares '*.css'; that is free on the old compiler. The docs
lockfile was missing and is committed with the pin.


Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-09-17 14:16:24 -07:00
co-authored by Hanzo Dev
parent 30fc34671d
commit 09e2bcfb4f
3 changed files with 4342 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
declare module '*.css'
+2 -1
View File
@@ -8,6 +8,7 @@
"export": "TURBOPACK=0 next build",
"start": "next start",
"lint": "next lint",
"typecheck": "tsc --noEmit --incremental false",
"postinstall": "fumadocs-mdx"
},
"dependencies": {
@@ -31,7 +32,7 @@
"postcss": "^8.4.49",
"rehype-pretty-code": "^0.14.1",
"shiki": "^1.27.2",
"typescript": "^5.7.2"
"typescript": "7.0.2"
},
"packageManager": "[email protected]"
}
+4339
View File
File diff suppressed because it is too large Load Diff