source: imaps-frontend/node_modules/side-channel-list/index.d.ts@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 335 bytes
Line 
1declare namespace getSideChannelList {
2 type Channel<K, V> = {
3 assert: (key: K) => void;
4 has: (key: K) => boolean;
5 get: (key: K) => V | undefined;
6 set: (key: K, value: V) => void;
7 delete: (key: K) => boolean;
8 };
9}
10
11declare function getSideChannelList<V, K>(): getSideChannelList.Channel<K, V>;
12
13export = getSideChannelList;
Note: See TracBrowser for help on using the repository browser.