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

10 lines
250 B
TypeScript
Raw Normal View History

2024-07-14 15:48:34 +08:00
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;
}