completed exercise 3.1
This commit is contained in:
parent
68aa0e9905
commit
0bd43956c9
604 changed files with 67855 additions and 0 deletions
15
parts/3/phonebookBackend/node_modules/side-channel-weakmap/index.d.ts
generated
vendored
Normal file
15
parts/3/phonebookBackend/node_modules/side-channel-weakmap/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
declare namespace getSideChannelWeakMap {
|
||||
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 getSideChannelWeakMap<K, V>(): getSideChannelWeakMap.Channel<K, V>;
|
||||
|
||||
declare const x: false | typeof getSideChannelWeakMap;
|
||||
|
||||
export = x;
|
||||
Loading…
Add table
Add a link
Reference in a new issue