You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to get the wrangler types command to generate proper types for RPC-enabled bindings, when binding to a Worker/DO that is defined in a different script?
For example, Durable Object bindings pointing to a different script are always typed as
interfaceEnv{DO_BINDING: DurableObjectNamespace;/* MyDOClass from some-other-worker */;}
which means that you cannot call any RPC methods on DO_BINDING stubs. Instead, it could be output as
This would require a bit of work for determining the location of multiple Workers at once, and would not work when you do not have the source for all of your Workers.