You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
213 B
10 lines
213 B
declare class Lru {
|
|
constructor(max: number);
|
|
has(key: string): boolean;
|
|
remove(key: string): void;
|
|
get(key: string): any;
|
|
set(key: string, val: any): void;
|
|
clear(): void;
|
|
}
|
|
|
|
export = Lru;
|
|
|