UNPKG

@ngx-toolkit/cache

Version:

Angular cache with Universal support

11 lines (10 loc) 289 B
import { Cache } from '../cache.model'; export declare class MemoryCache implements Cache { readonly name: string; private cache; constructor(name: string); clear(): void; evict(key: string): void; get<T>(key: string): T; put<T>(key: string, value: T): void; }