@joker.front/core
Version:
Joker is a framework platform designed to provide support for all development scenarios. Among them, Joker.front is a front-end development framework under the Joker platform. It provides standardized front-end development standards, adopts an object-orie
16 lines (15 loc) • 572 B
TypeScript
import { Component, ComponentConstructor, TemplateType } from "./component";
/**
* 热更新助手(热更新使用)(构建时会按需剔除)
*/
export declare let __JOKER_HMR_RUNTIME: {
recordRender: (id: string, template: {
render: TemplateType;
}) => void;
recordComponent: (id: string, component: {
component: ComponentConstructor;
}) => void;
record: (id: string, component: Component) => void;
reload: (id: string, component: ComponentConstructor) => void;
rerender: (id: string, template: TemplateType) => void;
};