Files
leonarski_fandClaude Opus 5.5 eb0b1fd606 Frontend: TypeScript 7 (native compiler) for type checking
tsc is now TypeScript 7.0 (installed as @typescript/native, an npm alias of
typescript@7), and the name "typescript" is an alias of @typescript/typescript6,
the side-by-side setup Microsoft recommends: TypeScript 7.0 ships no compiler
API, and @hey-api/openapi-ts (npm run openapi) emits the client through the
TypeScript API it imports as "typescript" (a peer dependency, so it cannot be
given its own nested copy). npm run openapi is unchanged.

tsconfig: moduleResolution "node" (node10) was removed in TypeScript 7; it is
now "bundler", which is what Vite resolves. tsc --noEmit passes without new
suppressions, in 1.6 s instead of 8.4 s; the bundle is byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UqXYdJDrM65gxsCn2PrbfK
2026-11-15 16:01:07 +01:00

22 lines
566 B
JSON

{
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"jsx": "react-jsx",
"types": ["vite/client", "vite-plugin-svgr/client"]
},
"include": ["src"]
}