Skip to content

Commit 5e13d3c

Browse files
committed
chore: fix types
1 parent 9a03877 commit 5e13d3c

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/node/rpc/internal/state

1 file changed

+1
-1
lines changed

packages/core/src/node/rpc/internal/state/get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const sharedStateGet = defineRpcFunction({
66
type: 'query',
77
setup: (context: DevToolsNodeContext) => {
88
return {
9-
handler: async (key: string) => {
9+
handler: async (key: string): Promise<any> => {
1010
const state = await context.rpc.sharedState.get(key as keyof DevToolsRpcSharedStates)
1111
return state.value()
1212
},

0 commit comments

Comments
 (0)