web/functions/tsconfig.json22 lines · 732 bytes
| 1 | { |
| 2 | // Type-checks the Cloudflare Pages Functions and the operator module they share with the dev server |
| 3 | // (npm run typecheck runs it after the app's own tsconfig). Workers globals come from the WebWorker lib. |
| 4 | "compilerOptions": { |
| 5 | "target": "es2022", |
| 6 | "module": "esnext", |
| 7 | "lib": ["ES2023", "WebWorker"], |
| 8 | "types": [], |
| 9 | "skipLibCheck": true, |
| 10 | "moduleResolution": "bundler", |
| 11 | "allowImportingTsExtensions": true, |
| 12 | "verbatimModuleSyntax": true, |
| 13 | "moduleDetection": "force", |
| 14 | "noEmit": true, |
| 15 | "strict": true, |
| 16 | "noUnusedLocals": true, |
| 17 | "noUnusedParameters": true, |
| 18 | "erasableSyntaxOnly": true, |
| 19 | "noFallthroughCasesInSwitch": true |
| 20 | }, |
| 21 | "include": ["./**/*.ts", "../operator/**/*.ts"] |
| 22 | } |