UNPKG

ts-method-cache

Version:

Data method caching logic based on TypeScript decorators

11 lines (10 loc) 252 B
import { PersistentCacheOptions } from './persistent-cache-options'; export interface PersistentCacheModel<T extends PersistentCacheOptions> { items: { [args: string]: any; }; options: T; ttl: { [args: string]: number; }; }