用工小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
382 B

declare namespace getSideChannelWeakMap {
type Channel<K, V> = {
assert: (key: K) => void;
has: (key: K) => boolean;
get: (key: K) => V | undefined;
set: (key: K, value: V) => void;
delete: (key: K) => boolean;
}
}
declare function getSideChannelWeakMap<K, V>(): getSideChannelWeakMap.Channel<K, V>;
declare const x: false | typeof getSideChannelWeakMap;
export = x;