Files
linsa-linsa-io/packages/web/env.d.ts
Nikita 8cd4b943a5 .
2025-12-21 13:37:19 -08:00

21 lines
416 B
TypeScript

/**
* 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 {}