following along part 3

This commit is contained in:
Pablo Martin 2025-05-29 19:41:40 +02:00
parent 2e3dfd4114
commit ade19f00bc
602 changed files with 67987 additions and 0 deletions

View file

@ -0,0 +1,13 @@
declare namespace getSideChannelList {
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 getSideChannelList<V, K>(): getSideChannelList.Channel<K, V>;
export = getSideChannelList;