UNPKG

289 BTypeScriptView Raw
1import ManifestFile from '@dxcli/manifest-file';
2export default class PluginCache<T> extends ManifestFile {
3 file: string;
4 cacheKey: string;
5 name: string;
6 constructor(file: string, cacheKey: string, name: string);
7 fetch(key: string, fn: () => Promise<T>): Promise<T>;
8}