11 lines
315 B
TypeScript
11 lines
315 B
TypeScript
declare class LazyMapSet<K, V> {
|
|
private map;
|
|
clear(): void;
|
|
delete(key: K, value?: V): boolean;
|
|
find(key: K, iterator: (value: V) => boolean): V | undefined;
|
|
get(key: K): Set<V> | V | undefined;
|
|
has(key: K, value?: V): boolean;
|
|
set(key: K, value: V): this;
|
|
}
|
|
export default LazyMapSet;
|