| 1 | { |
| 2 | "compilerOptions": { |
| 3 | "target": |
| 4 | "lib": |
| 5 | "allowJs": |
| 6 | "skipLibCheck": |
| 7 | "strict": |
| 8 | "noEmit": |
| 9 | "esModuleInterop": |
| 10 | "module": |
| 11 | "moduleResolution": |
| 12 | "resolveJsonModule": |
| 13 | "isolatedModules": |
| 14 | "jsx": |
| 15 | "incremental": |
| 16 | "plugins": |
| 17 | { |
| 18 | "name": |
| 19 | } |
| 20 | ], |
| 21 | "paths": |
| 22 | "@/*": |
| 23 | "@/.source": |
| 24 | // Bun installs several identical copies of fumadocs-core (one per peer |
| 25 | // set). TypeScript treats each copy's types as distinct, so the source |
| 26 | // fumadocs-mdx returns no longer matches the loader's and page data |
| 27 | // degrades to the base `PageData`. Pin every fumadocs-core type import |
| 28 | // to one copy. |
| 29 | "fumadocs-core": |
| 30 | "fumadocs-core/*": |
| 31 | } |
| 32 | }, |
| 33 | "include": |
| 34 | "next-env.d.ts", |
| 35 | "**/*.ts", |
| 36 | "**/*.tsx", |
| 37 | ".next/types/**/*.ts", |
| 38 | ".next/dev/types/**/*.ts", |
| 39 | "**/*.mts" |
| 40 | ], |
| 41 | "exclude": |
| 42 | } |