{ "//": [ "DEC-N6 补口:根 tsconfig.json 的 exclude 里显式列了 e2e,因此 `npm run type-check` 全程抓不到", "e2e/** 里的类型错误与重复声明(历史实例:teardown 补丁里第二个 `const revalidateSecret` 与既有声明", "重名,type-check EXIT=0,只有 `cd e2e && npx playwright test --list` 才报)。本文件让 `tsc --noEmit -p e2e`", "能在静态阶段抓到同一类错误,由 `npm run type-check:e2e` 承载。", "口径:继承根配置的 strict / noUncheckedIndexedAccess 等全部严格度开关,只替换文件集合与 types。", "不引入 skipLibCheck / any 之类的降噪手段(根配置本就 skipLibCheck: true,此处保持一致,未额外放宽)。" ], "extends": "../tsconfig.json", "compilerOptions": { "types": ["node"], "noEmit": true, "incremental": false, "paths": { "@/*": ["../src/*"] } }, "include": ["**/*.ts"], "exclude": [ "node_modules", "test-results", "allure-results", "playwright-report", "visual-snapshots" ] }