@types/audioworklet 0.0.90 → 0.0.92

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.90 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.90.
31
+ You can read what changed in version 0.0.92 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.92.
package/index.d.ts CHANGED
@@ -348,12 +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 that emits compressed data as Uint8Array chunks. */
356
357
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
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. */
357
359
  readonly writable: WritableStream<BufferSource>;
358
360
  }
359
361
 
@@ -492,12 +494,14 @@ declare var DOMException: {
492
494
  };
493
495
 
494
496
  /**
495
- * 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.
496
498
  *
497
499
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
498
500
  */
499
501
  interface DecompressionStream extends GenericTransformStream {
502
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
500
503
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
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. */
501
505
  readonly writable: WritableStream<BufferSource>;
502
506
  }
503
507
 
@@ -1117,12 +1121,14 @@ interface TextDecoderCommon {
1117
1121
  }
1118
1122
 
1119
1123
  /**
1120
- * 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.
1121
1125
  *
1122
1126
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1123
1127
  */
1124
1128
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1129
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1125
1130
  readonly readable: ReadableStream<string>;
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. */
1126
1132
  readonly writable: WritableStream<BufferSource>;
1127
1133
  }
1128
1134
 
@@ -1166,12 +1172,14 @@ interface TextEncoderCommon {
1166
1172
  }
1167
1173
 
1168
1174
  /**
1169
- * 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.
1170
1176
  *
1171
1177
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1172
1178
  */
1173
1179
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1180
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1174
1181
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
1182
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1175
1183
  readonly writable: WritableStream<string>;
1176
1184
  }
1177
1185
 
@@ -1187,13 +1195,13 @@ declare var TextEncoderStream: {
1187
1195
  */
1188
1196
  interface TransformStream<I = any, O = any> {
1189
1197
  /**
1190
- * 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.
1191
1199
  *
1192
1200
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1193
1201
  */
1194
1202
  readonly readable: ReadableStream<O>;
1195
1203
  /**
1196
- * 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.
1197
1205
  *
1198
1206
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1199
1207
  */
@@ -1541,6 +1549,7 @@ declare var WritableStreamDefaultWriter: {
1541
1549
  };
1542
1550
 
1543
1551
  declare namespace WebAssembly {
1552
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
1544
1553
  interface CompileError extends Error {
1545
1554
  }
1546
1555
 
@@ -1615,6 +1624,7 @@ declare namespace WebAssembly {
1615
1624
  new(module: Module, importObject?: Imports): Instance;
1616
1625
  };
1617
1626
 
1627
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
1618
1628
  interface LinkError extends Error {
1619
1629
  }
1620
1630
 
@@ -1680,6 +1690,7 @@ declare namespace WebAssembly {
1680
1690
  imports(moduleObject: Module): ModuleImportDescriptor[];
1681
1691
  };
1682
1692
 
1693
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
1683
1694
  interface RuntimeError extends Error {
1684
1695
  }
1685
1696
 
@@ -1926,6 +1937,7 @@ interface Console {
1926
1937
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
1927
1938
  */
1928
1939
  timeLog(label?: string, ...data: any[]): void;
1940
+ /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
1929
1941
  timeStamp(label?: string): void;
1930
1942
  /**
1931
1943
  * The **`console.trace()`** static method outputs a stack trace to the console.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
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,12 +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 that emits compressed data as Uint8Array chunks. */
353
354
  readonly readable: ReadableStream<Uint8Array>;
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. */
354
356
  readonly writable: WritableStream<BufferSource>;
355
357
  }
356
358
 
@@ -489,12 +491,14 @@ declare var DOMException: {
489
491
  };
490
492
 
491
493
  /**
492
- * 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.
493
495
  *
494
496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
495
497
  */
496
498
  interface DecompressionStream extends GenericTransformStream {
499
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
497
500
  readonly readable: ReadableStream<Uint8Array>;
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. */
498
502
  readonly writable: WritableStream<BufferSource>;
499
503
  }
500
504
 
@@ -1114,12 +1118,14 @@ interface TextDecoderCommon {
1114
1118
  }
1115
1119
 
1116
1120
  /**
1117
- * 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.
1118
1122
  *
1119
1123
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1120
1124
  */
1121
1125
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1126
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1122
1127
  readonly readable: ReadableStream<string>;
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. */
1123
1129
  readonly writable: WritableStream<BufferSource>;
1124
1130
  }
1125
1131
 
@@ -1163,12 +1169,14 @@ interface TextEncoderCommon {
1163
1169
  }
1164
1170
 
1165
1171
  /**
1166
- * 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.
1167
1173
  *
1168
1174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1169
1175
  */
1170
1176
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1177
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1171
1178
  readonly readable: ReadableStream<Uint8Array>;
1179
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1172
1180
  readonly writable: WritableStream<string>;
1173
1181
  }
1174
1182
 
@@ -1184,13 +1192,13 @@ declare var TextEncoderStream: {
1184
1192
  */
1185
1193
  interface TransformStream<I = any, O = any> {
1186
1194
  /**
1187
- * 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.
1188
1196
  *
1189
1197
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1190
1198
  */
1191
1199
  readonly readable: ReadableStream<O>;
1192
1200
  /**
1193
- * 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.
1194
1202
  *
1195
1203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1196
1204
  */
@@ -1538,6 +1546,7 @@ declare var WritableStreamDefaultWriter: {
1538
1546
  };
1539
1547
 
1540
1548
  declare namespace WebAssembly {
1549
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
1541
1550
  interface CompileError extends Error {
1542
1551
  }
1543
1552
 
@@ -1612,6 +1621,7 @@ declare namespace WebAssembly {
1612
1621
  new(module: Module, importObject?: Imports): Instance;
1613
1622
  };
1614
1623
 
1624
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
1615
1625
  interface LinkError extends Error {
1616
1626
  }
1617
1627
 
@@ -1677,6 +1687,7 @@ declare namespace WebAssembly {
1677
1687
  imports(moduleObject: Module): ModuleImportDescriptor[];
1678
1688
  };
1679
1689
 
1690
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
1680
1691
  interface RuntimeError extends Error {
1681
1692
  }
1682
1693
 
@@ -1923,6 +1934,7 @@ interface Console {
1923
1934
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
1924
1935
  */
1925
1936
  timeLog(label?: string, ...data: any[]): void;
1937
+ /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
1926
1938
  timeStamp(label?: string): void;
1927
1939
  /**
1928
1940
  * The **`console.trace()`** static method outputs a stack trace to the console.
package/ts5.6/index.d.ts CHANGED
@@ -345,12 +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 that emits compressed data as Uint8Array chunks. */
353
354
  readonly readable: ReadableStream<Uint8Array>;
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. */
354
356
  readonly writable: WritableStream<BufferSource>;
355
357
  }
356
358
 
@@ -489,12 +491,14 @@ declare var DOMException: {
489
491
  };
490
492
 
491
493
  /**
492
- * 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.
493
495
  *
494
496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
495
497
  */
496
498
  interface DecompressionStream extends GenericTransformStream {
499
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
497
500
  readonly readable: ReadableStream<Uint8Array>;
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. */
498
502
  readonly writable: WritableStream<BufferSource>;
499
503
  }
500
504
 
@@ -1114,12 +1118,14 @@ interface TextDecoderCommon {
1114
1118
  }
1115
1119
 
1116
1120
  /**
1117
- * 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.
1118
1122
  *
1119
1123
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1120
1124
  */
1121
1125
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1126
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1122
1127
  readonly readable: ReadableStream<string>;
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. */
1123
1129
  readonly writable: WritableStream<BufferSource>;
1124
1130
  }
1125
1131
 
@@ -1163,12 +1169,14 @@ interface TextEncoderCommon {
1163
1169
  }
1164
1170
 
1165
1171
  /**
1166
- * 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.
1167
1173
  *
1168
1174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1169
1175
  */
1170
1176
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1177
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1171
1178
  readonly readable: ReadableStream<Uint8Array>;
1179
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1172
1180
  readonly writable: WritableStream<string>;
1173
1181
  }
1174
1182
 
@@ -1184,13 +1192,13 @@ declare var TextEncoderStream: {
1184
1192
  */
1185
1193
  interface TransformStream<I = any, O = any> {
1186
1194
  /**
1187
- * 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.
1188
1196
  *
1189
1197
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1190
1198
  */
1191
1199
  readonly readable: ReadableStream<O>;
1192
1200
  /**
1193
- * 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.
1194
1202
  *
1195
1203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1196
1204
  */
@@ -1538,6 +1546,7 @@ declare var WritableStreamDefaultWriter: {
1538
1546
  };
1539
1547
 
1540
1548
  declare namespace WebAssembly {
1549
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
1541
1550
  interface CompileError extends Error {
1542
1551
  }
1543
1552
 
@@ -1612,6 +1621,7 @@ declare namespace WebAssembly {
1612
1621
  new(module: Module, importObject?: Imports): Instance;
1613
1622
  };
1614
1623
 
1624
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
1615
1625
  interface LinkError extends Error {
1616
1626
  }
1617
1627
 
@@ -1677,6 +1687,7 @@ declare namespace WebAssembly {
1677
1687
  imports(moduleObject: Module): ModuleImportDescriptor[];
1678
1688
  };
1679
1689
 
1690
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
1680
1691
  interface RuntimeError extends Error {
1681
1692
  }
1682
1693
 
@@ -1923,6 +1934,7 @@ interface Console {
1923
1934
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
1924
1935
  */
1925
1936
  timeLog(label?: string, ...data: any[]): void;
1937
+ /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
1926
1938
  timeStamp(label?: string): void;
1927
1939
  /**
1928
1940
  * The **`console.trace()`** static method outputs a stack trace to the console.
package/ts5.9/index.d.ts CHANGED
@@ -345,12 +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 that emits compressed data as Uint8Array chunks. */
353
354
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
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. */
354
356
  readonly writable: WritableStream<BufferSource>;
355
357
  }
356
358
 
@@ -489,12 +491,14 @@ declare var DOMException: {
489
491
  };
490
492
 
491
493
  /**
492
- * 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.
493
495
  *
494
496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
495
497
  */
496
498
  interface DecompressionStream extends GenericTransformStream {
499
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
497
500
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
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. */
498
502
  readonly writable: WritableStream<BufferSource>;
499
503
  }
500
504
 
@@ -1114,12 +1118,14 @@ interface TextDecoderCommon {
1114
1118
  }
1115
1119
 
1116
1120
  /**
1117
- * 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.
1118
1122
  *
1119
1123
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
1120
1124
  */
1121
1125
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
1126
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
1122
1127
  readonly readable: ReadableStream<string>;
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. */
1123
1129
  readonly writable: WritableStream<BufferSource>;
1124
1130
  }
1125
1131
 
@@ -1163,12 +1169,14 @@ interface TextEncoderCommon {
1163
1169
  }
1164
1170
 
1165
1171
  /**
1166
- * 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.
1167
1173
  *
1168
1174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
1169
1175
  */
1170
1176
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
1177
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
1171
1178
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
1179
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
1172
1180
  readonly writable: WritableStream<string>;
1173
1181
  }
1174
1182
 
@@ -1184,13 +1192,13 @@ declare var TextEncoderStream: {
1184
1192
  */
1185
1193
  interface TransformStream<I = any, O = any> {
1186
1194
  /**
1187
- * 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.
1188
1196
  *
1189
1197
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
1190
1198
  */
1191
1199
  readonly readable: ReadableStream<O>;
1192
1200
  /**
1193
- * 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.
1194
1202
  *
1195
1203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
1196
1204
  */
@@ -1538,6 +1546,7 @@ declare var WritableStreamDefaultWriter: {
1538
1546
  };
1539
1547
 
1540
1548
  declare namespace WebAssembly {
1549
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
1541
1550
  interface CompileError extends Error {
1542
1551
  }
1543
1552
 
@@ -1612,6 +1621,7 @@ declare namespace WebAssembly {
1612
1621
  new(module: Module, importObject?: Imports): Instance;
1613
1622
  };
1614
1623
 
1624
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
1615
1625
  interface LinkError extends Error {
1616
1626
  }
1617
1627
 
@@ -1677,6 +1687,7 @@ declare namespace WebAssembly {
1677
1687
  imports(moduleObject: Module): ModuleImportDescriptor[];
1678
1688
  };
1679
1689
 
1690
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
1680
1691
  interface RuntimeError extends Error {
1681
1692
  }
1682
1693
 
@@ -1923,6 +1934,7 @@ interface Console {
1923
1934
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
1924
1935
  */
1925
1936
  timeLog(label?: string, ...data: any[]): void;
1937
+ /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */
1926
1938
  timeStamp(label?: string): void;
1927
1939
  /**
1928
1940
  * The **`console.trace()`** static method outputs a stack trace to the console.