UNPKG

@joker.front/core

Version:

Joker is a framework platform engineered to support all development scenarios. Within its ecosystem, Joker.front stands as a front-end development framework. It delivers standardized front-end development protocols and employs an object-oriented, componen

16 lines (15 loc) 572 B
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; };