WeakMap.d.ts 250 B

123456789
  1. export default class WeakMap<K extends object, V> {
  2. protected _id: string;
  3. constructor();
  4. get(key: K): V;
  5. set(key: K, value: V): WeakMap<K, V>;
  6. delete(key: K): boolean;
  7. has(key: K): boolean;
  8. protected _guard(key: K): K;
  9. }