{ // Used by build.spec.ts to compile this package with multiple TS versions (5.7-7.0). // Includes src/**/* (not just test/) because the test verifies that the package's // exports type-check correctly across TS versions with skipLibCheck: false. "include": ["src/**/*"], // Cross-package schema files produce .d.ts with intentionally broken import paths // (documenting a known tree export bug). Exclude them so the multi-version build // tests aren't affected. "exclude": ["src/crossPackage/**/*", "src/test/crossPackage/**/*"], "compilerOptions": { "target": "es2022", "module": "Node16", "types": ["node", "mocha"], "strict": true, "skipLibCheck": false, "incremental": false, "noImplicitAny": true, "noImplicitOverride": true, "noImplicitReturns": true, "noImplicitThis": true, "noUncheckedIndexedAccess": true, "lib": ["ES2022", "DOM"], // The pretty formatting seems to make it through how we log these errors, so keep it on. "pretty": true, }, }