source: imaps-frontend/node_modules/side-channel-weakmap/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: 382 bytes
Line 
1declare namespace getSideChannelWeakMap {
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 getSideChannelWeakMap<K, V>(): getSideChannelWeakMap.Channel<K, V>;
12
13declare const x: false | typeof getSideChannelWeakMap;
14
15export = x;
Note: See TracBrowser for help on using the repository browser.