UNPKG

@e-group/utils

Version:

eGroup team utils that share across projects.

20 lines (19 loc) 486 B
export interface CacheInterface { get(key: string): any; set(key: string, value: any): void; keys(): string[]; has(key: string): boolean; delete(key: string): void; clear(): void; } declare class Cache implements CacheInterface { private cache; constructor(); get(key: string): any; set(key: string, value: any): void; keys(): string[]; has(key: string): boolean; clear(): void; delete(key: string): void; } export default Cache;