| 1 | { |
| 2 | "compilerOptions": { |
| 3 | // Node 24 strips types at runtime rather than compiling, so tsc is only |
| 4 | // ever a checker here — never an emitter. `verbatimModuleSyntax` and |
| 5 | // `erasableSyntaxOnly` keep us inside what stripping can actually handle: |
| 6 | // no enums, no namespaces, no parameter properties, no emit-dependent |
| 7 | // import elision. |
| 8 | "noEmit": true, |
| 9 | "erasableSyntaxOnly": true, |
| 10 | "verbatimModuleSyntax": true, |
| 11 | |
| 12 | "target": "es2023", |
| 13 | "lib": ["es2023", "dom"], |
| 14 | "module": "nodenext", |
| 15 | "moduleResolution": "nodenext", |
| 16 | // Node resolves the real file on disk, so imports name `./buffer.ts`. |
| 17 | "allowImportingTsExtensions": true, |
| 18 | |
| 19 | "strict": true, |
| 20 | "noUncheckedIndexedAccess": true, |
| 21 | "jsx": "react", |
| 22 | "types": ["node"], |
| 23 | "skipLibCheck": true |
| 24 | }, |
| 25 | "include": ["**/*.ts"], |
| 26 | "exclude": ["spike"] |
| 27 | } |