project/node_modules/zrender/lib/core/WeakMap.d.ts

10 lines
250 B
TypeScript

export default class WeakMap<K extends object, V> {
protected _id: string;
constructor();
get(key: K): V;
set(key: K, value: V): WeakMap<K, V>;
delete(key: K): boolean;
has(key: K): boolean;
protected _guard(key: K): K;
}