This commit is contained in:
DeSqBlocki
2026-08-15 08:34:09 +02:00
parent eda2b2964a
commit 9377403f61
879 changed files with 118808 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
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;