@types/audioworklet 0.0.74 → 0.0.75

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.74 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.74.
31
+ You can read what changed in version 0.0.75 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.75.
@@ -0,0 +1,12 @@
1
+ /////////////////////////////
2
+ /// AudioWorklet Async Iterable APIs
3
+ /////////////////////////////
4
+
5
+ interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
6
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
7
+ }
8
+
9
+ interface ReadableStream<R = any> {
10
+ [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
11
+ values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
12
+ }
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="./iterable.d.ts" />
2
+ /// <reference path="./asynciterable.d.ts" />
2
3
 
3
4
  /////////////////////////////
4
5
  /// AudioWorklet APIs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
@@ -0,0 +1,8 @@
1
+ /////////////////////////////
2
+ /// AudioWorklet Async Iterable APIs
3
+ /////////////////////////////
4
+
5
+ interface ReadableStream<R = any> {
6
+ [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
7
+ values(options?: ReadableStreamIteratorOptions): AsyncIterableIterator<R>;
8
+ }
package/ts5.5/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="./iterable.d.ts" />
2
+ /// <reference path="./asynciterable.d.ts" />
2
3
 
3
4
  /////////////////////////////
4
5
  /// AudioWorklet APIs
@@ -0,0 +1,12 @@
1
+ /////////////////////////////
2
+ /// AudioWorklet Async Iterable APIs
3
+ /////////////////////////////
4
+
5
+ interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
6
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
7
+ }
8
+
9
+ interface ReadableStream<R = any> {
10
+ [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
11
+ values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
12
+ }
package/ts5.6/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="./iterable.d.ts" />
2
+ /// <reference path="./asynciterable.d.ts" />
2
3
 
3
4
  /////////////////////////////
4
5
  /// AudioWorklet APIs