{
  "compilerOptions": {
    "target": "es2022",
    "module": "es2022",
    "moduleResolution": "bundler",
    // Some intra-src value imports carry a `.ts` extension so Node's strip-types test runner can
    // resolve them (e.g. src/room.ts → ./apns.ts); allow that under bundler resolution.
    "allowImportingTsExtensions": true,
    "lib": ["es2022"],
    "types": ["@cloudflare/workers-types"],
    "strict": true,
    "noEmit": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true
  },
  // Typecheck the Worker source against the Workers runtime types. The test is plain
  // JS-with-type-annotations run by Node's own runner (node:test), so it's excluded here.
  "include": ["src/**/*.ts"]
}
