vue-di-kit
Version:
Vue Dependency Injection Kit
14 lines (13 loc) • 551 B
TypeScript
import Vue, { VueConstructor } from 'vue';
import { VueClass } from '.';
export declare class HMRClass {
id: string;
type: VueConstructor<Vue> | VueClass<Vue> | Vue;
constructor(id: string, type: VueConstructor<Vue> | VueClass<Vue> | Vue);
readonly compatible: boolean;
install(vue: VueConstructor<Vue>): void;
isRecorded(id: string): boolean;
createRecord(id: string, type: VueConstructor<Vue> | VueClass<Vue> | Vue): void;
reload(id: string, type: VueConstructor<Vue> | VueClass<Vue> | Vue): void;
hot(): void;
}