Workers RPC Typescript documentation should make it clear that you need to use "experimental" types #13899
Labels
content:edit
Request for content edits
documentation
Documentation edits
product:workers
Related to Workers product
Existing documentation URL(s)
https://developers.cloudflare.com/workers/runtime-apis/rpc/typescript/
What changes are you suggesting?
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:
Switching to
@cloudflare/workers-types/experimental
immediately fixed the issue.The text was updated successfully, but these errors were encountered: