Frontend/25_01_07/mai/node_modules/side-channel-map/index.d.ts
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00

16 lines
367 B
TypeScript

declare namespace getSideChannelMap {
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 getSideChannelMap<K, V>(): getSideChannelMap.Channel<K, V>;
declare const x: false | typeof getSideChannelMap;
export = x;