Claude Code. Any Model. The most powerful AI coding agent now speaks every language.
{
// BUILD config. `rootDir` and `references` below are wrong for typechecking
// this package (TS6059 / TS6306), because the bridge imports the cli through
// relative paths (../../cli/src/...) that sit outside ./src. `bun run
// typecheck` therefore uses tsconfig.typecheck.json, which extends this file
// and drops both. Keep them here — `rootDir` governs emit layout.
"compilerOptions": {
// ES2023 so cli sources shared via those relative imports typecheck
// (e.g. Array.prototype.findLast). Node >=18 and Bun both support it.
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"moduleResolution": "bundler",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"exactOptionalPropertyTypes": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"resolveJsonModule": true,
"types": ["bun", "node"],
"skipLibCheck": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"],
"references": [{ "path": "../cli" }]
}