/
githubmirror
/
docusaurus
Обзор
Документация
Войти
/
githubmirror
/
docusaurus
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
website/tsconfig.json
38 строк
1 KB
Sébastien Lorber
fix(ci): fix TS6 upgrade + prepare for TS7 (#12287)
16 июл 2026, 12:23
Не верифицирован
16 июл 2026, 12:23
76bc07d
Код
Авторство
О чём код?
{ // This file is not used in compilation. It is here just for a nice editor experience. "extends": "@docusaurus/tsconfig", "compilerOptions": { "lib": ["DOM", "ESNext"], "resolveJsonModule": true, "allowArbitraryExtensions": true, // Duplicated from the root config, because TS does not support extending // multiple configs and we want to dogfood the @docusaurus/tsconfig one "allowUnreachableCode": false, "exactOptionalPropertyTypes": false, "noFallthroughCasesInSwitch": true, "noImplicitOverride": true, "noImplicitReturns": true, "noPropertyAccessFromIndexSignature": false, "noUncheckedIndexedAccess": true, "strict": true, "alwaysStrict": true, "noImplicitAny": true, "noImplicitThis": true, "strictBindCallApply": true, "strictFunctionTypes": true, "strictNullChecks": true, "strictPropertyInitialization": true, "useUnknownInCatchVariables": true, "noUnusedLocals": false, "noUnusedParameters": false, // This is important. We run `pnpm tsc` in website so we can catch issues // with our declaration files (mostly names that are forgotten to be // imported, invalid semantics...). Because we don't have end-to-end type // tests, removing this would make things much harder to catch. "skipLibCheck": false, "types": [] }, "exclude": ["build", ".docusaurus", "src/sw.js", "_dogfooding/_asset-tests"] }