{ "compilerOptions": { "target": "ES2022", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, "paths": { "@site/*": ["./*"] }, }, "include": [ "**/*.ts", "**/*.jsx", "**/*.js", "**/*.tsx", "**/*.md", "**/*.mdx", ], // `include` sweeps up **/*.js and allowJs is on, so anything the build emits into this package is // typechecked as source. The turbo `typecheck` task only dependsOn ["^topo"], not on its own // package's `build`, so `docusaurus build` and `tsc --noEmit` run concurrently - and tsc can observe // Docusaurus's transient `build/__server/` bundles and fail with TS1473 before the build removes // them. Excluding generated output makes typecheck independent of that scheduling. "exclude": ["node_modules", "build", ".docusaurus"], }