| 1 | { |
| 2 | "extends": "./tsconfig.json", |
| 3 | "include": [".react-router/types/**/*", "app/**/*", "app/**/.server/**/*", "app/**/.client/**/*", "workers/**/*", "worker-configuration.d.ts"], |
| 4 | "exclude": ["app/**/*.test.ts"], |
| 5 | "compilerOptions": { |
| 6 | "composite": true, |
| 7 | "strict": true, |
| 8 | "lib": ["DOM", "DOM.Iterable", "ES2022", "ESNext.Disposable"], |
| 9 | "types": ["vite/client"], |
| 10 | "target": "ES2022", |
| 11 | "module": "ES2022", |
| 12 | "moduleResolution": "bundler", |
| 13 | "jsx": "react-jsx", |
| 14 | "rootDirs": [".", "./.react-router/types"], |
| 15 | "paths": { |
| 16 | "~/*": ["./app/*"] |
| 17 | }, |
| 18 | "esModuleInterop": true, |
| 19 | "resolveJsonModule": true, |
| 20 | // Browser modules tested under Node (`npm test`) name the files they |
| 21 | // import with their extension, as Node needs (components/folios/provider.ts). |
| 22 | "allowImportingTsExtensions": true |
| 23 | } |
| 24 | } |