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
Mention in the Workers RPC Typescript documentation that you should use @cloudflare/workers-types/experimental.
Additional information
Spent a long time trying to figure out why I couldn't get the types to work with the new RPC functionality, I would always get:
Type 'PdfParserService' does not satisfy the constraint 'WorkerEntrypointBranded'.
Property '[__WORKER_ENTRYPOINT_BRAND]' is missing in type 'PdfParserService' but required in type 'WorkerEntrypointBranded'.ts(2344)
Switching to @cloudflare/workers-types/experimental immediately fixed the issue.