UNPKG

ngz-cache-platform-server

Version:
15 lines (14 loc) 543 B
import { Injector } from '@angular/core'; import { Cache, CacheValue, Storage } from 'ngz-cache-core'; export declare class FsCacheService implements Cache { private readonly platformId; private readonly injector; protected readonly fsStorage: Storage; private get isEnabled(); constructor(platformId: any, injector: Injector); get keys(): Array<string>; setItem(key: string, value: CacheValue): boolean; getItem(key: string): CacheValue; removeItem(key: string, wild?: boolean): void; clear(): void; }