bpms_site/.svn/pristine/8b/8bf5d40b94aa4dfff29ed4c0b958910e5cba31a3.svn-base
2025-11-02 16:38:49 +03:30

10 lines
376 B
Plaintext

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 {};