Skip to content

Commit

Permalink
chore: use any for _send
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Aug 21, 2023
1 parent c5cbf71 commit d3b8ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-node/src/hmr/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function viteNodeHmrPlugin(): Plugin {
configureServer(server) {
const _send = server.ws.send
server.emitter = emitter
server.ws.send = function (payload: HMRPayload) {
server.ws.send = function (payload: any) {
_send(payload)
emitter.emit('message', payload)
}
Expand Down

0 comments on commit d3b8ca6

Please sign in to comment.