UNPKG

@vuedx/typescript-plugin-vue

Version:
11 lines 431 B
export declare class CacheService<T> { private readonly getVersion; private readonly maxSize; private readonly logger; private readonly cache; constructor(getVersion: (fileName: string) => string, maxSize?: number); getItem(fileName: string): T | null; setItem(fileName: string, value: T): void; withCache(fileName: string, fn: (item: T | null) => T): T; } //# sourceMappingURL=CacheService.d.ts.map