UNPKG

ts-method-cache

Version:

Data method caching logic based on TypeScript decorators

8 lines (7 loc) 223 B
import { CacheReturnType } from '../enum/cache-return-type.enum'; export interface BaseCacheOptions { key?: string; returnType?: CacheReturnType; ttl?: string | number | Date; cacheUntilRejected?: boolean; }