aboutsummaryrefslogtreecommitdiff
path: root/node_modules/got/dist/source/core/utils/weakable-map.d.ts
blob: 9e3466cf6058688ce2659499061d415df3c28081 (plain)
1
2
3
4
5
6
7
8
export default class WeakableMap<K, V> {
    weakMap: WeakMap<Record<string, unknown>, V>;
    map: Map<K, V>;
    constructor();
    set(key: K, value: V): void;
    get(key: K): V | undefined;
    has(key: K): boolean;
}