mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-08 17:37:24 +08:00
16 lines
529 B
TypeScript
16 lines
529 B
TypeScript
export declare function updateStyle(id: string, content: string): void;
|
|
interface HotCallback {
|
|
deps: string | string[];
|
|
fn: (modules: object | object[]) => void;
|
|
}
|
|
export declare const createHotContext: (id: string) => {
|
|
readonly data: any;
|
|
accept(callback?: HotCallback['fn']): void;
|
|
acceptDeps(deps: HotCallback['deps'], callback?: HotCallback['fn']): void;
|
|
dispose(cb: (data: any) => void): void;
|
|
decline(): void;
|
|
invalidate(): void;
|
|
on(event: string, cb: () => void): void;
|
|
};
|
|
export {};
|