mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-17 15:34:54 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so ts-jest, tsup's dts build and typescript-eslint cannot read it. It comes in aliased as tsgo and does the typechecking through new typecheck scripts; typescript stays on the 6 line for the tools. shell-tool-mcp asked for moduleResolution "Node", which TS7 removed, so it moves to node16 alongside its module; the node and jest globals it uncovers are now declared rather than swept in. 30 diagnostics before, 29 after, the same on both compilers. Co-authored-by: Hanzo Dev <[email protected]>
15 lines
315 B
JSON
15 lines
315 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "node16",
|
|
"moduleResolution": "node16",
|
|
"noEmit": true,
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"skipLibCheck": true,
|
|
"types": ["node", "jest"]
|
|
},
|
|
"include": ["src", "tests"]
|
|
}
|