mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
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]>