Files
Webklar.com/node_modules/next/dist/client/dev/error-overlay/websocket.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

10 lines
376 B
TypeScript

import { HMR_ACTION_TYPES } from '../../../server/dev/hot-reloader-types';
type ActionCallback = (action: HMR_ACTION_TYPES) => void;
export declare function addMessageListener(callback: ActionCallback): void;
export declare function sendMessage(data: string): void;
export declare function connectHMR(options: {
path: string;
assetPrefix: string;
}): void;
export {};