{ // Visit https://aka.ms/tsconfig to read more about this file // Shared (@avalon-vanguard/config/tsconfig/library.json): sourceMap, declaration, // declarationMap, noImplicitReturns, noImplicitOverride, noFallthroughCasesInSwitch, // isolatedModules, skipLibCheck. "extends": "@avalon-vanguard/config/tsconfig/library.json", "compilerOptions": { // File Layout "rootDir": "src", "outDir": "dist", // Environment Settings "module": "NodeNext", "target": "ES2025", "lib": ["ESNext", "ESNext.Decorators"], "types": ["node"], // Stricter Typechecking Options "noUncheckedIndexedAccess": true, "exactOptionalPropertyTypes": true, // Style Options "noUnusedLocals": true, "noUnusedParameters": true, // Recommended Options "strict": true, "strictPropertyInitialization": false, // NOTE: no `experimentalDecorators`. v2 uses TC39 standard decorators, which is what // gives ClassFieldDecoratorContext and therefore compile-time checking of // rules against field types. The two decorator systems cannot coexist in one program. }, // NOTE: test files are deliberately included here so that `npm run type-check` // covers them. The two build configs exclude them (and the demo) from `dist`. "include": ["src/**/*"], "exclude": ["node_modules", "dist"] }