Description
Describe the solution
I'm not sure where exactly the source of worker-configuration.d.ts
types is - the wrangler
package seems to get its types from miniflare
but haven't dug into how that works. But manually making this change to my worker-configuration.d.ts means I can cmd-click into RPC classes:

Before (cmd-click on the rpc method in cursor/vscode does nothing):
Screen.Recording.2025-06-19.at.2.16.18.PM.mov
After (cmd-click goes to the rpc method implementation):
Screen.Recording.2025-06-19.at.2.17.25.PM.mov
I believe when you mess with the key types in a mapped object typescript just gives up on tracking where the original property comes from.
I'd be happy to open a PR if someone can point me to wherever the source of truth for this generated code is.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog