ngx-store-9
Version:
Angular decorators to automagically keep variables in HTML5 LocalStorage, SessionStorage, cookies; injectable services for managing and listening to data changes and a bit more.
9 lines (8 loc) • 350 B
TypeScript
import { CacheItem, CacheItemInterface } from './cache-item';
export declare class Cache {
static items: Map<string, CacheItem>;
static getCacheFor(cacheCandidate: CacheItemInterface): CacheItem;
static remove(cacheItem: CacheItem): boolean;
static get(key: string): CacheItem;
protected static set(cacheItem: CacheItem): void;
}