service bindings typescript
https://developers.cloudflare.com/workers/runtime-apis/rpc/typescript/ suggests to define your own
Env
interface which would be incompatible with auto-generated worker-configuration.d.ts
. Do I have to sacrifice npx wrangler types
and define it manually if I use service bindings? It generates generic Fetcher
type:
Cloudflare Docs
Workers RPC — TypeScript · Cloudflare Workers docs
How TypeScript types for your Worker or Durable Object's RPC methods are generated and exposed to clients
0 Replies