We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a03877 commit 5e13d3cCopy full SHA for 5e13d3c
packages/core/src/node/rpc/internal/state/get.ts
@@ -6,7 +6,7 @@ export const sharedStateGet = defineRpcFunction({
6
type: 'query',
7
setup: (context: DevToolsNodeContext) => {
8
return {
9
- handler: async (key: string) => {
+ handler: async (key: string): Promise<any> => {
10
const state = await context.rpc.sharedState.get(key as keyof DevToolsRpcSharedStates)
11
return state.value()
12
},
0 commit comments