Files
zeekayandHanzo Dev 3e9586e245 Typecheck the sample client on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
typescript-eslint cannot read it. It comes in aliased as tsgo and runs the
build; typescript stays on the 6 line for the tools.

The sample's tsconfigs never named strict or esModuleInterop, so TS7's defaults
turned both on and reported 7 diagnostics against code that had always compiled
loosely. They now say so: strict false, esModuleInterop true, and the CJS
namespace import of mocha becomes a default import that interop can construct.
Both compilers report 0 diagnostics.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 01:02:44 -07:00

15 lines
282 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"esModuleInterop": true,
"strict": false,
"target": "es2020",
"lib": ["es2020"],
"outDir": "out",
"rootDir": "src",
"sourceMap": true
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
}