UNPKG

@visulima/string

Version:

Functions for manipulating strings.

15 lines (13 loc) 332 B
declare class LRUCache<K, V> { private readonly capacity; private readonly cache; private keyOrder; constructor(capacity: number); get(key: K): V | undefined; has(key: K): boolean; set(key: K, value: V): void; delete(key: K): void; clear(): void; size(): number; } export { LRUCache as L };