Interface WeakMapConstructor
interface WeakMapConstructor {
new WeakMapConstructor<K extends WeakKey = WeakKey, V = any>(
entries?: readonly (readonly [K, V])[],
): WeakMap<K, V>;
new WeakMapConstructor<K extends WeakKey, V>(
iterable: Iterable<readonly [K, V]>,
): WeakMap<K, V>;
prototype: WeakMap<WeakKey, any>;
}
new WeakMapConstructor<K extends WeakKey = WeakKey, V = any>(
entries?: readonly (readonly [K, V])[],
): WeakMap<K, V>;
new WeakMapConstructor<K extends WeakKey, V>(
iterable: Iterable<readonly [K, V]>,
): WeakMap<K, V>;
prototype: WeakMap<WeakKey, any>;
}
Index
Constructors
Properties
Constructors
constructor
- new WeakMapConstructor<K extends WeakKey = WeakKey, V = any>(
entries?: readonly (readonly [K, V])[],
): WeakMap<K, V> Type Parameters
Returns WeakMap<K, V>
- new WeakMapConstructor<K extends WeakKey, V>(
iterable: Iterable<readonly [K, V]>,
): WeakMap<K, V> Type Parameters
- K extends WeakKey
- V
Returns WeakMap<K, V>