source: imaps-frontend/node_modules/side-channel-map/index.d.ts

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 367 bytes
Line 
1declare namespace getSideChannelMap {
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 getSideChannelMap<K, V>(): getSideChannelMap.Channel<K, V>;
12
13declare const x: false | typeof getSideChannelMap;
14
15export = x;
Note: See TracBrowser for help on using the repository browser.