@types/audioworklet 0.0.58 → 0.0.59

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.
package/README.md CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.58 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.58.
31
+ You can read what changed in version 0.0.59 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.59.
package/iterable.d.ts CHANGED
@@ -12,12 +12,16 @@ interface MessageEvent<T = any> {
12
12
  initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
13
13
  }
14
14
 
15
+ interface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
16
+ [Symbol.iterator](): URLSearchParamsIterator<T>;
17
+ }
18
+
15
19
  interface URLSearchParams {
16
- [Symbol.iterator](): IterableIterator<[string, string]>;
20
+ [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
17
21
  /** Returns an array of key, value pairs for every entry in the search params. */
18
- entries(): IterableIterator<[string, string]>;
22
+ entries(): URLSearchParamsIterator<[string, string]>;
19
23
  /** Returns a list of keys in the search params. */
20
- keys(): IterableIterator<string>;
24
+ keys(): URLSearchParamsIterator<string>;
21
25
  /** Returns a list of values in the search params. */
22
- values(): IterableIterator<string>;
26
+ values(): URLSearchParamsIterator<string>;
23
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
@@ -10,6 +10,13 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/microsoft/TypeScript-DOM-Lib-Generator.git"
12
12
  },
13
+ "typesVersions": {
14
+ "<=5.5": {
15
+ "*": [
16
+ "ts5.5/*"
17
+ ]
18
+ }
19
+ },
13
20
  "scripts": {},
14
21
  "dependencies": {}
15
22
  }