Files
models/tsconfig.json
zeekayandHanzo Dev b3fe63c730 Typecheck on the native compiler, keep 6 for the tools
typescript 7.0.2 is the native compiler and exports no JavaScript API, so
tsup's dts build cannot read it. It comes in aliased as tsgo and does the
typechecking; typescript stays on the 6 line for the tools. 0 diagnostics
before and after.

tsup injects its own baseUrl into the compilerOptions it hands the dts
build, which typescript 6 errors on (TS5101), so the dts build needs
ignoreDeprecations: "6.0" in the tsconfig. Without it `build` fails.

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

16 lines
334 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"declaration": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "dist",
"ignoreDeprecations": "6.0"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
}