UNPKG

@pisell/pisellos

Version:

一个可扩展的前端模块化SDK框架,支持插件系统

18 lines (17 loc) 522 B
import { PisellCore } from '../types'; export declare class BaseModule { protected defaultName: string; protected defaultVersion: string; name: string; version: string; isSolution: boolean; protected core: PisellCore; constructor(name?: string, version?: string); destroy(): void; checkSaveCache({ cacheId, fatherModule, store, cacheKey, }: { cacheId: string | undefined; fatherModule: string | undefined; store: any; cacheKey: string[]; }): void; }