{ "compilerOptions": { "allowJs": true, "checkJs": true, "module": "esnext", "moduleResolution": "node", "target": "es2023", "lib": ["ES2023", "DOM", "DOM.AsyncIterable", "DOM.Iterable"], "declaration": true, "declarationMap": true, // This (along with also shipping src/, not only dist/), makes "Go To Definition" go to the source files in IDEs for a better DX. "emitDeclarationOnly": true, "resolveJsonModule": true, // Output declarations next to source files (the default when outDir is not // defined), rather than in dist/, to avoid conflicting with the global // build in dist/. // "outDir": "dist/", "strict": true, "skipLibCheck": true, "skipDefaultLibCheck": true, // TODO: Remove once tinydate import is refactored to non-default, or replace/delete non-standards-aligned libs. // Enables default import interop for CJS modules like tinydate "allowSyntheticDefaultImports": true, // TODO: Remove this once all implicit any errors are fixed with proper JSDoc types // Currently suppressing ~600 implicit any errors across the codebase // See: https://github.com/docsifyjs/docsify/pull/2392 "noImplicitAny": false }, "include": ["src/**/*.js", "src/core/modules.ts", "src/core/globals.ts"] }