UNPKG

263 BTypeScriptView Raw
1import { ICache, Cacheable } from './shared';
2export declare class LocalStorageCache implements ICache {
3 set<T = Cacheable>(key: string, entry: T): void;
4 get<T = Cacheable>(key: string): T;
5 remove(key: string): void;
6 allKeys(): string[];
7}