Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 20, 2024
1 parent b3f4dbb commit 3746ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export default function PluginInspect(options: Options = {}): Plugin {
moduleUpdated: () => {},
}

const rpcServer = createRPCServer<RPCFunctions>('vite-plugin-inspect', server.ws, rpcFunctions)
const rpcServer = createRPCServer<RPCFunctions, any>('vite-plugin-inspect', server.ws, rpcFunctions)

const debouncedModuleUpdated = debounce(() => {
rpcServer.moduleUpdated.asEvent()
Expand Down

0 comments on commit 3746ade

Please sign in to comment.