Files
zeekayandHanzo Dev 23cc6723bd Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so hardhat,
ts-node and next cannot read it. Both projects take it aliased as tsgo for the
typechecking and keep typescript on the 6 line for the tools; next 16.0.1 in
particular does not recognize a bare 7 pin and runs an unsolicited
`pnpm add -D typescript` mid-build.

contracts/ reports 0 diagnostics under both compilers with strict spelled out —
TS7 turns it on by default and this config never opted in. docs/ reports the same 5
under both, once the side-effect CSS import gets the ambient declaration TS7 now
demands. Neither project had a typecheck script.

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

24 lines
503 B
JSON

{
"compilerOptions": {
"outDir": "./dist/",
"module": "commonjs",
"strict": false,
"target": "es2020",
"typeRoots": ["./typings/**", "./node_modules/@types"],
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"paths": {
"*": [
"./*"
]
},
},
"exclude": ["node_modules", "artifacts", "cache"],
"typeAcquisition": {
"enable": true,
"exclude": ["bn.js"]
},
}