Files
zeekayandHanzo Dev 341175f458 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
next 14/15 and @typescript-eslint cannot read it. It comes in aliased as tsgo
and does the typechecking; typescript stays on the 6 line for the tools.

Five things the 6 line no longer accepts came with the bump. app/site targeted
ES5, which is gone, so it targets ES2017. app/investor's side-effect import of
globals.css needs an ambient declaration. base64ToBytes returns a
Uint8Array<ArrayBuffer>, which is what Blob takes now. pkg/ui skips lib checks
like every other project here. pkg/brand really does use process, Buffer and
require, so it depends on @types/node and asks for it by name.

Two diagnostics before and after, the same two under both compilers.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 22:46:30 -07:00

29 lines
648 B
JSON

{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}