@types/audioworklet 0.0.72 → 0.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,22 @@
1
+ /////////////////////////////
2
+ /// AudioWorklet Iterable APIs
3
+ /////////////////////////////
4
+
5
+ interface MessageEvent<T = any> {
6
+ /** @deprecated */
7
+ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
8
+ }
9
+
10
+ interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
11
+ [Symbol.iterator](): URLSearchParamsIterator<T>;
12
+ }
13
+
14
+ interface URLSearchParams {
15
+ [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
16
+ /** Returns an array of key, value pairs for every entry in the search params. */
17
+ entries(): URLSearchParamsIterator<[string, string]>;
18
+ /** Returns a list of keys in the search params. */
19
+ keys(): URLSearchParamsIterator<string>;
20
+ /** Returns a list of values in the search params. */
21
+ values(): URLSearchParamsIterator<string>;
22
+ }