@types/audioworklet 0.0.91 → 0.0.93

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.91 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.91.
31
+ You can read what changed in version 0.0.93 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.93.
package/index.d.ts CHANGED
@@ -348,14 +348,14 @@ declare var ByteLengthQueuingStrategy: {
348
348
  };
349
349
 
350
350
  /**
351
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
351
+ * The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
352
352
  *
353
353
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
354
354
  */
355
355
  interface CompressionStream extends GenericTransformStream {
356
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
356
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
357
357
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
358
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
358
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
359
359
  readonly writable: WritableStream<BufferSource>;
360
360
  }
361
361
 
@@ -494,14 +494,14 @@ declare var DOMException: {
494
494
  };
495
495
 
496
496
  /**
497
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
497
+ * The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
498
498
  *
499
499
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
500
500
  */
501
501
  interface DecompressionStream extends GenericTransformStream {
502
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
502
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
503
503
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
504
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
504
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
505
505
  readonly writable: WritableStream<BufferSource>;
506
506
  }
507
507
 
@@ -1121,14 +1121,14 @@ interface TextDecoderCommon {
1121
1121
  }
1122
1122
 
1123
1123
  /**
1124
- * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
1124
+ * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1125
1125
  *
1126
1126
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1127
1127
  */
1128
1128
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1129
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
1129
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1130
1130
  readonly readable: ReadableStream<string>;
1131
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
1131
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream that accepts binary data, in the form of ArrayBuffer, TypedArray, or DataView chunks (SharedArrayBuffer and its views are also allowed), to be decoded into strings. */
1132
1132
  readonly writable: WritableStream<BufferSource>;
1133
1133
  }
1134
1134
 
@@ -1172,14 +1172,14 @@ interface TextEncoderCommon {
1172
1172
  }
1173
1173
 
1174
1174
  /**
1175
- * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
1175
+ * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1176
1176
  *
1177
1177
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1178
1178
  */
1179
1179
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1180
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
1180
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1181
1181
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
1182
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
1182
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1183
1183
  readonly writable: WritableStream<string>;
1184
1184
  }
1185
1185
 
@@ -1195,13 +1195,13 @@ declare var TextEncoderStream: {
1195
1195
  */
1196
1196
  interface TransformStream<I = any, O = any> {
1197
1197
  /**
1198
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
1198
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
1199
1199
  *
1200
1200
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1201
1201
  */
1202
1202
  readonly readable: ReadableStream<O>;
1203
1203
  /**
1204
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
1204
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
1205
1205
  *
1206
1206
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1207
1207
  */
@@ -1652,6 +1652,8 @@ declare namespace WebAssembly {
1652
1652
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
1653
1653
  */
1654
1654
  grow(delta: AddressValue): AddressValue;
1655
+ toFixedLengthBuffer(): ArrayBuffer;
1656
+ toResizableBuffer(): ArrayBuffer;
1655
1657
  }
1656
1658
 
1657
1659
  var Memory: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.91",
3
+ "version": "0.0.93",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -345,14 +345,14 @@ declare var ByteLengthQueuingStrategy: {
345
345
  };
346
346
 
347
347
  /**
348
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
348
+ * The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
349
349
  *
350
350
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
351
351
  */
352
352
  interface CompressionStream extends GenericTransformStream {
353
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
353
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
354
354
  readonly readable: ReadableStream<Uint8Array>;
355
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
355
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
356
356
  readonly writable: WritableStream<BufferSource>;
357
357
  }
358
358
 
@@ -491,14 +491,14 @@ declare var DOMException: {
491
491
  };
492
492
 
493
493
  /**
494
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
494
+ * The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
495
495
  *
496
496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
497
497
  */
498
498
  interface DecompressionStream extends GenericTransformStream {
499
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
499
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
500
500
  readonly readable: ReadableStream<Uint8Array>;
501
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
501
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
502
502
  readonly writable: WritableStream<BufferSource>;
503
503
  }
504
504
 
@@ -1118,14 +1118,14 @@ interface TextDecoderCommon {
1118
1118
  }
1119
1119
 
1120
1120
  /**
1121
- * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
1121
+ * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1122
1122
  *
1123
1123
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1124
1124
  */
1125
1125
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1126
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
1126
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1127
1127
  readonly readable: ReadableStream<string>;
1128
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
1128
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream that accepts binary data, in the form of ArrayBuffer, TypedArray, or DataView chunks (SharedArrayBuffer and its views are also allowed), to be decoded into strings. */
1129
1129
  readonly writable: WritableStream<BufferSource>;
1130
1130
  }
1131
1131
 
@@ -1169,14 +1169,14 @@ interface TextEncoderCommon {
1169
1169
  }
1170
1170
 
1171
1171
  /**
1172
- * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
1172
+ * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1173
1173
  *
1174
1174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1175
1175
  */
1176
1176
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1177
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
1177
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1178
1178
  readonly readable: ReadableStream<Uint8Array>;
1179
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
1179
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1180
1180
  readonly writable: WritableStream<string>;
1181
1181
  }
1182
1182
 
@@ -1192,13 +1192,13 @@ declare var TextEncoderStream: {
1192
1192
  */
1193
1193
  interface TransformStream<I = any, O = any> {
1194
1194
  /**
1195
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
1195
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
1196
1196
  *
1197
1197
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1198
1198
  */
1199
1199
  readonly readable: ReadableStream<O>;
1200
1200
  /**
1201
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
1201
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
1202
1202
  *
1203
1203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1204
1204
  */
@@ -1649,6 +1649,8 @@ declare namespace WebAssembly {
1649
1649
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
1650
1650
  */
1651
1651
  grow(delta: AddressValue): AddressValue;
1652
+ toFixedLengthBuffer(): ArrayBuffer;
1653
+ toResizableBuffer(): ArrayBuffer;
1652
1654
  }
1653
1655
 
1654
1656
  var Memory: {
package/ts5.6/index.d.ts CHANGED
@@ -345,14 +345,14 @@ declare var ByteLengthQueuingStrategy: {
345
345
  };
346
346
 
347
347
  /**
348
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
348
+ * The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
349
349
  *
350
350
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
351
351
  */
352
352
  interface CompressionStream extends GenericTransformStream {
353
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
353
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
354
354
  readonly readable: ReadableStream<Uint8Array>;
355
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
355
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
356
356
  readonly writable: WritableStream<BufferSource>;
357
357
  }
358
358
 
@@ -491,14 +491,14 @@ declare var DOMException: {
491
491
  };
492
492
 
493
493
  /**
494
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
494
+ * The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
495
495
  *
496
496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
497
497
  */
498
498
  interface DecompressionStream extends GenericTransformStream {
499
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
499
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
500
500
  readonly readable: ReadableStream<Uint8Array>;
501
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
501
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
502
502
  readonly writable: WritableStream<BufferSource>;
503
503
  }
504
504
 
@@ -1118,14 +1118,14 @@ interface TextDecoderCommon {
1118
1118
  }
1119
1119
 
1120
1120
  /**
1121
- * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
1121
+ * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1122
1122
  *
1123
1123
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1124
1124
  */
1125
1125
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1126
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
1126
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1127
1127
  readonly readable: ReadableStream<string>;
1128
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
1128
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream that accepts binary data, in the form of ArrayBuffer, TypedArray, or DataView chunks (SharedArrayBuffer and its views are also allowed), to be decoded into strings. */
1129
1129
  readonly writable: WritableStream<BufferSource>;
1130
1130
  }
1131
1131
 
@@ -1169,14 +1169,14 @@ interface TextEncoderCommon {
1169
1169
  }
1170
1170
 
1171
1171
  /**
1172
- * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
1172
+ * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1173
1173
  *
1174
1174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1175
1175
  */
1176
1176
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1177
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
1177
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1178
1178
  readonly readable: ReadableStream<Uint8Array>;
1179
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
1179
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1180
1180
  readonly writable: WritableStream<string>;
1181
1181
  }
1182
1182
 
@@ -1192,13 +1192,13 @@ declare var TextEncoderStream: {
1192
1192
  */
1193
1193
  interface TransformStream<I = any, O = any> {
1194
1194
  /**
1195
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
1195
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
1196
1196
  *
1197
1197
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1198
1198
  */
1199
1199
  readonly readable: ReadableStream<O>;
1200
1200
  /**
1201
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
1201
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
1202
1202
  *
1203
1203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1204
1204
  */
@@ -1649,6 +1649,8 @@ declare namespace WebAssembly {
1649
1649
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
1650
1650
  */
1651
1651
  grow(delta: AddressValue): AddressValue;
1652
+ toFixedLengthBuffer(): ArrayBuffer;
1653
+ toResizableBuffer(): ArrayBuffer;
1652
1654
  }
1653
1655
 
1654
1656
  var Memory: {
package/ts5.9/index.d.ts CHANGED
@@ -345,14 +345,14 @@ declare var ByteLengthQueuingStrategy: {
345
345
  };
346
346
 
347
347
  /**
348
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
348
+ * The **`CompressionStream`** interface of the Compression Streams API compresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
349
349
  *
350
350
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
351
351
  */
352
352
  interface CompressionStream extends GenericTransformStream {
353
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
353
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
354
354
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
355
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
355
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream that accepts uncompressed data to be compressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
356
356
  readonly writable: WritableStream<BufferSource>;
357
357
  }
358
358
 
@@ -491,14 +491,14 @@ declare var DOMException: {
491
491
  };
492
492
 
493
493
  /**
494
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
494
+ * The **`DecompressionStream`** interface of the Compression Streams API decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
495
495
  *
496
496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
497
497
  */
498
498
  interface DecompressionStream extends GenericTransformStream {
499
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
499
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
500
500
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
501
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
501
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. */
502
502
  readonly writable: WritableStream<BufferSource>;
503
503
  }
504
504
 
@@ -1118,14 +1118,14 @@ interface TextDecoderCommon {
1118
1118
  }
1119
1119
 
1120
1120
  /**
1121
- * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
1121
+ * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1122
1122
  *
1123
1123
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1124
1124
  */
1125
1125
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1126
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
1126
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1127
1127
  readonly readable: ReadableStream<string>;
1128
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
1128
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream that accepts binary data, in the form of ArrayBuffer, TypedArray, or DataView chunks (SharedArrayBuffer and its views are also allowed), to be decoded into strings. */
1129
1129
  readonly writable: WritableStream<BufferSource>;
1130
1130
  }
1131
1131
 
@@ -1169,14 +1169,14 @@ interface TextEncoderCommon {
1169
1169
  }
1170
1170
 
1171
1171
  /**
1172
- * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
1172
+ * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
1173
1173
  *
1174
1174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1175
1175
  */
1176
1176
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1177
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
1177
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1178
1178
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
1179
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
1179
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1180
1180
  readonly writable: WritableStream<string>;
1181
1181
  }
1182
1182
 
@@ -1192,13 +1192,13 @@ declare var TextEncoderStream: {
1192
1192
  */
1193
1193
  interface TransformStream<I = any, O = any> {
1194
1194
  /**
1195
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
1195
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
1196
1196
  *
1197
1197
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1198
1198
  */
1199
1199
  readonly readable: ReadableStream<O>;
1200
1200
  /**
1201
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
1201
+ * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream. This stream accepts input data that will be transformed and emitted to the readable stream.
1202
1202
  *
1203
1203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1204
1204
  */
@@ -1649,6 +1649,8 @@ declare namespace WebAssembly {
1649
1649
  * [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow)
1650
1650
  */
1651
1651
  grow(delta: AddressValue): AddressValue;
1652
+ toFixedLengthBuffer(): ArrayBuffer;
1653
+ toResizableBuffer(): ArrayBuffer;
1652
1654
  }
1653
1655
 
1654
1656
  var Memory: {