This commit is contained in:
Nikita
2025-12-21 13:37:19 -08:00
commit 8cd4b943a5
173 changed files with 44266 additions and 0 deletions

20
packages/web/env.d.ts vendored Normal file
View File

@@ -0,0 +1,20 @@
/**
* Environment bindings for the web worker
* This extends the auto-generated worker-configuration.d.ts
*/
import type { WorkerRpc } from "../worker/src/rpc"
declare module "cloudflare:workers" {
interface Env {
// Service binding to the worker RPC
WORKER_RPC: Service<WorkerRpc>
}
}
// For compatibility with TanStack Start
declare global {
interface CloudflareEnv extends Env {}
}
export {}