Skip to content

Commit 6f09e8d

Browse files
chore(overlay): fix type error for rpcServer.functions.on (#1076)
1 parent ce8c792 commit 6f09e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/overlay/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const vueInspector = ref()
5555
const vueInspectorEnabled = ref(false)
5656
5757
onDevToolsConnected(() => {
58-
const rpcServer = getRpcServer<typeof functions>()
58+
const rpcServer = getRpcServer<never, typeof functions>()
5959
rpcServer.functions.on('toggle-panel', (state = !panelVisible) => {
6060
togglePanelVisible(undefined, state)
6161
})

0 commit comments

Comments
 (0)