npm install --save @types/es6-weak-map
This package contains type definitions for es6-weak-map (https://github.com/medikoo/es6-weak-map).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/es6-weak-map.
export = WeakMap;
export as namespace WeakMap;
interface Iterable<T> {
[Symbol.iterator](): Iterator<T>;
}
declare class WeakMap<K, V> {
constructor();
constructor(iterable: Iterable<[K, V]>);
delete(key: K): boolean;
get(key: K): V;
has(key: K): boolean;
set(key: K, value?: V): WeakMap<K, V>;
}
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
These definitions were written by Pine Mizune.