7 lines
182 B
TypeScript
7 lines
182 B
TypeScript
|
export declare class LruMap<K, V> extends Map<K, V> {
|
||
|
readonly limit: number;
|
||
|
constructor(limit?: number);
|
||
|
set(key: K, value: V): this;
|
||
|
get(key: K): V | undefined;
|
||
|
}
|