@types/webworker 0.0.44 → 0.0.46

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
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
45
45
 
46
46
  ## Deploy Metadata
47
47
 
48
- You can read what changed in version 0.0.44 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.44.
48
+ You can read what changed in version 0.0.46 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.46.
package/index.d.ts CHANGED
@@ -351,6 +351,7 @@ interface FontFaceDescriptors {
351
351
  stretch?: string;
352
352
  style?: string;
353
353
  unicodeRange?: string;
354
+ variationSettings?: string;
354
355
  weight?: string;
355
356
  }
356
357
 
@@ -1091,8 +1092,8 @@ interface WebTransportErrorOptions {
1091
1092
  }
1092
1093
 
1093
1094
  interface WebTransportHash {
1094
- algorithm?: string;
1095
- value?: BufferSource;
1095
+ algorithm: string;
1096
+ value: BufferSource;
1096
1097
  }
1097
1098
 
1098
1099
  interface WebTransportOptions {
@@ -2668,14 +2669,14 @@ declare var CloseEvent: {
2668
2669
  };
2669
2670
 
2670
2671
  /**
2671
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2672
+ * 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.
2672
2673
  *
2673
2674
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2674
2675
  */
2675
2676
  interface CompressionStream extends GenericTransformStream {
2676
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2677
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2677
2678
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
2678
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2679
+ /** 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. */
2679
2680
  readonly writable: WritableStream<BufferSource>;
2680
2681
  }
2681
2682
 
@@ -3592,14 +3593,14 @@ declare var DOMStringList: {
3592
3593
  };
3593
3594
 
3594
3595
  /**
3595
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3596
+ * 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.
3596
3597
  *
3597
3598
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3598
3599
  */
3599
3600
  interface DecompressionStream extends GenericTransformStream {
3600
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3601
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3601
3602
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
3602
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3603
+ /** 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. */
3603
3604
  readonly writable: WritableStream<BufferSource>;
3604
3605
  }
3605
3606
 
@@ -7184,7 +7185,7 @@ interface PushMessageData {
7184
7185
  */
7185
7186
  blob(): Blob;
7186
7187
  /**
7187
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
7188
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
7188
7189
  *
7189
7190
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
7190
7191
  */
@@ -8673,14 +8674,14 @@ interface TextDecoderCommon {
8673
8674
  }
8674
8675
 
8675
8676
  /**
8676
- * 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.
8677
+ * 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.
8677
8678
  *
8678
8679
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
8679
8680
  */
8680
8681
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
8681
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
8682
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
8682
8683
  readonly readable: ReadableStream<string>;
8683
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
8684
+ /** 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. */
8684
8685
  readonly writable: WritableStream<BufferSource>;
8685
8686
  }
8686
8687
 
@@ -8724,14 +8725,14 @@ interface TextEncoderCommon {
8724
8725
  }
8725
8726
 
8726
8727
  /**
8727
- * 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.
8728
+ * 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.
8728
8729
  *
8729
8730
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
8730
8731
  */
8731
8732
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
8732
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
8733
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
8733
8734
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
8734
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
8735
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
8735
8736
  readonly writable: WritableStream<string>;
8736
8737
  }
8737
8738
 
@@ -8832,13 +8833,13 @@ declare var TextMetrics: {
8832
8833
  */
8833
8834
  interface TransformStream<I = any, O = any> {
8834
8835
  /**
8835
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
8836
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
8836
8837
  *
8837
8838
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
8838
8839
  */
8839
8840
  readonly readable: ReadableStream<O>;
8840
8841
  /**
8841
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
8842
+ * 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.
8842
8843
  *
8843
8844
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
8844
8845
  */
@@ -12315,7 +12316,7 @@ interface WorkerGlobalScopeEventMap {
12315
12316
  */
12316
12317
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
12317
12318
  /**
12318
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12319
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12319
12320
  *
12320
12321
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
12321
12322
  */
@@ -13296,7 +13297,7 @@ declare function postMessage(message: any, options?: StructuredSerializeOptions)
13296
13297
  */
13297
13298
  declare function dispatchEvent(event: Event): boolean;
13298
13299
  /**
13299
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13300
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13300
13301
  *
13301
13302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
13302
13303
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/webworker",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "description": "Types for the global scope of Web Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -348,6 +348,7 @@ interface FontFaceDescriptors {
348
348
  stretch?: string;
349
349
  style?: string;
350
350
  unicodeRange?: string;
351
+ variationSettings?: string;
351
352
  weight?: string;
352
353
  }
353
354
 
@@ -1088,8 +1089,8 @@ interface WebTransportErrorOptions {
1088
1089
  }
1089
1090
 
1090
1091
  interface WebTransportHash {
1091
- algorithm?: string;
1092
- value?: BufferSource;
1092
+ algorithm: string;
1093
+ value: BufferSource;
1093
1094
  }
1094
1095
 
1095
1096
  interface WebTransportOptions {
@@ -2665,14 +2666,14 @@ declare var CloseEvent: {
2665
2666
  };
2666
2667
 
2667
2668
  /**
2668
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2669
+ * 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.
2669
2670
  *
2670
2671
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2671
2672
  */
2672
2673
  interface CompressionStream extends GenericTransformStream {
2673
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2674
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2674
2675
  readonly readable: ReadableStream<Uint8Array>;
2675
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2676
+ /** 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. */
2676
2677
  readonly writable: WritableStream<BufferSource>;
2677
2678
  }
2678
2679
 
@@ -3589,14 +3590,14 @@ declare var DOMStringList: {
3589
3590
  };
3590
3591
 
3591
3592
  /**
3592
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3593
+ * 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.
3593
3594
  *
3594
3595
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3595
3596
  */
3596
3597
  interface DecompressionStream extends GenericTransformStream {
3597
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3598
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3598
3599
  readonly readable: ReadableStream<Uint8Array>;
3599
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3600
+ /** 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. */
3600
3601
  readonly writable: WritableStream<BufferSource>;
3601
3602
  }
3602
3603
 
@@ -7181,7 +7182,7 @@ interface PushMessageData {
7181
7182
  */
7182
7183
  blob(): Blob;
7183
7184
  /**
7184
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
7185
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
7185
7186
  *
7186
7187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
7187
7188
  */
@@ -8670,14 +8671,14 @@ interface TextDecoderCommon {
8670
8671
  }
8671
8672
 
8672
8673
  /**
8673
- * 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.
8674
+ * 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.
8674
8675
  *
8675
8676
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
8676
8677
  */
8677
8678
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
8678
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
8679
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
8679
8680
  readonly readable: ReadableStream<string>;
8680
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
8681
+ /** 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. */
8681
8682
  readonly writable: WritableStream<BufferSource>;
8682
8683
  }
8683
8684
 
@@ -8721,14 +8722,14 @@ interface TextEncoderCommon {
8721
8722
  }
8722
8723
 
8723
8724
  /**
8724
- * 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.
8725
+ * 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.
8725
8726
  *
8726
8727
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
8727
8728
  */
8728
8729
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
8729
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
8730
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
8730
8731
  readonly readable: ReadableStream<Uint8Array>;
8731
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
8732
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
8732
8733
  readonly writable: WritableStream<string>;
8733
8734
  }
8734
8735
 
@@ -8829,13 +8830,13 @@ declare var TextMetrics: {
8829
8830
  */
8830
8831
  interface TransformStream<I = any, O = any> {
8831
8832
  /**
8832
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
8833
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
8833
8834
  *
8834
8835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
8835
8836
  */
8836
8837
  readonly readable: ReadableStream<O>;
8837
8838
  /**
8838
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
8839
+ * 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.
8839
8840
  *
8840
8841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
8841
8842
  */
@@ -12312,7 +12313,7 @@ interface WorkerGlobalScopeEventMap {
12312
12313
  */
12313
12314
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
12314
12315
  /**
12315
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12316
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12316
12317
  *
12317
12318
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
12318
12319
  */
@@ -13293,7 +13294,7 @@ declare function postMessage(message: any, options?: StructuredSerializeOptions)
13293
13294
  */
13294
13295
  declare function dispatchEvent(event: Event): boolean;
13295
13296
  /**
13296
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13297
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13297
13298
  *
13298
13299
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
13299
13300
  */
package/ts5.6/index.d.ts CHANGED
@@ -348,6 +348,7 @@ interface FontFaceDescriptors {
348
348
  stretch?: string;
349
349
  style?: string;
350
350
  unicodeRange?: string;
351
+ variationSettings?: string;
351
352
  weight?: string;
352
353
  }
353
354
 
@@ -1088,8 +1089,8 @@ interface WebTransportErrorOptions {
1088
1089
  }
1089
1090
 
1090
1091
  interface WebTransportHash {
1091
- algorithm?: string;
1092
- value?: BufferSource;
1092
+ algorithm: string;
1093
+ value: BufferSource;
1093
1094
  }
1094
1095
 
1095
1096
  interface WebTransportOptions {
@@ -2665,14 +2666,14 @@ declare var CloseEvent: {
2665
2666
  };
2666
2667
 
2667
2668
  /**
2668
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2669
+ * 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.
2669
2670
  *
2670
2671
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2671
2672
  */
2672
2673
  interface CompressionStream extends GenericTransformStream {
2673
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2674
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2674
2675
  readonly readable: ReadableStream<Uint8Array>;
2675
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2676
+ /** 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. */
2676
2677
  readonly writable: WritableStream<BufferSource>;
2677
2678
  }
2678
2679
 
@@ -3589,14 +3590,14 @@ declare var DOMStringList: {
3589
3590
  };
3590
3591
 
3591
3592
  /**
3592
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3593
+ * 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.
3593
3594
  *
3594
3595
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3595
3596
  */
3596
3597
  interface DecompressionStream extends GenericTransformStream {
3597
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3598
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3598
3599
  readonly readable: ReadableStream<Uint8Array>;
3599
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3600
+ /** 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. */
3600
3601
  readonly writable: WritableStream<BufferSource>;
3601
3602
  }
3602
3603
 
@@ -7181,7 +7182,7 @@ interface PushMessageData {
7181
7182
  */
7182
7183
  blob(): Blob;
7183
7184
  /**
7184
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
7185
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
7185
7186
  *
7186
7187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
7187
7188
  */
@@ -8670,14 +8671,14 @@ interface TextDecoderCommon {
8670
8671
  }
8671
8672
 
8672
8673
  /**
8673
- * 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.
8674
+ * 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.
8674
8675
  *
8675
8676
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
8676
8677
  */
8677
8678
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
8678
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
8679
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
8679
8680
  readonly readable: ReadableStream<string>;
8680
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
8681
+ /** 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. */
8681
8682
  readonly writable: WritableStream<BufferSource>;
8682
8683
  }
8683
8684
 
@@ -8721,14 +8722,14 @@ interface TextEncoderCommon {
8721
8722
  }
8722
8723
 
8723
8724
  /**
8724
- * 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.
8725
+ * 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.
8725
8726
  *
8726
8727
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
8727
8728
  */
8728
8729
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
8729
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
8730
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
8730
8731
  readonly readable: ReadableStream<Uint8Array>;
8731
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
8732
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
8732
8733
  readonly writable: WritableStream<string>;
8733
8734
  }
8734
8735
 
@@ -8829,13 +8830,13 @@ declare var TextMetrics: {
8829
8830
  */
8830
8831
  interface TransformStream<I = any, O = any> {
8831
8832
  /**
8832
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
8833
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
8833
8834
  *
8834
8835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
8835
8836
  */
8836
8837
  readonly readable: ReadableStream<O>;
8837
8838
  /**
8838
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
8839
+ * 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.
8839
8840
  *
8840
8841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
8841
8842
  */
@@ -12312,7 +12313,7 @@ interface WorkerGlobalScopeEventMap {
12312
12313
  */
12313
12314
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
12314
12315
  /**
12315
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12316
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12316
12317
  *
12317
12318
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
12318
12319
  */
@@ -13293,7 +13294,7 @@ declare function postMessage(message: any, options?: StructuredSerializeOptions)
13293
13294
  */
13294
13295
  declare function dispatchEvent(event: Event): boolean;
13295
13296
  /**
13296
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13297
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13297
13298
  *
13298
13299
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
13299
13300
  */
package/ts5.9/index.d.ts CHANGED
@@ -348,6 +348,7 @@ interface FontFaceDescriptors {
348
348
  stretch?: string;
349
349
  style?: string;
350
350
  unicodeRange?: string;
351
+ variationSettings?: string;
351
352
  weight?: string;
352
353
  }
353
354
 
@@ -1088,8 +1089,8 @@ interface WebTransportErrorOptions {
1088
1089
  }
1089
1090
 
1090
1091
  interface WebTransportHash {
1091
- algorithm?: string;
1092
- value?: BufferSource;
1092
+ algorithm: string;
1093
+ value: BufferSource;
1093
1094
  }
1094
1095
 
1095
1096
  interface WebTransportOptions {
@@ -2665,14 +2666,14 @@ declare var CloseEvent: {
2665
2666
  };
2666
2667
 
2667
2668
  /**
2668
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2669
+ * 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.
2669
2670
  *
2670
2671
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2671
2672
  */
2672
2673
  interface CompressionStream extends GenericTransformStream {
2673
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2674
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2674
2675
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
2675
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2676
+ /** 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. */
2676
2677
  readonly writable: WritableStream<BufferSource>;
2677
2678
  }
2678
2679
 
@@ -3589,14 +3590,14 @@ declare var DOMStringList: {
3589
3590
  };
3590
3591
 
3591
3592
  /**
3592
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3593
+ * 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.
3593
3594
  *
3594
3595
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3595
3596
  */
3596
3597
  interface DecompressionStream extends GenericTransformStream {
3597
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3598
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3598
3599
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
3599
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3600
+ /** 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. */
3600
3601
  readonly writable: WritableStream<BufferSource>;
3601
3602
  }
3602
3603
 
@@ -7181,7 +7182,7 @@ interface PushMessageData {
7181
7182
  */
7182
7183
  blob(): Blob;
7183
7184
  /**
7184
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
7185
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
7185
7186
  *
7186
7187
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
7187
7188
  */
@@ -8670,14 +8671,14 @@ interface TextDecoderCommon {
8670
8671
  }
8671
8672
 
8672
8673
  /**
8673
- * 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.
8674
+ * 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.
8674
8675
  *
8675
8676
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
8676
8677
  */
8677
8678
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
8678
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
8679
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
8679
8680
  readonly readable: ReadableStream<string>;
8680
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
8681
+ /** 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. */
8681
8682
  readonly writable: WritableStream<BufferSource>;
8682
8683
  }
8683
8684
 
@@ -8721,14 +8722,14 @@ interface TextEncoderCommon {
8721
8722
  }
8722
8723
 
8723
8724
  /**
8724
- * 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.
8725
+ * 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.
8725
8726
  *
8726
8727
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
8727
8728
  */
8728
8729
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
8729
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
8730
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
8730
8731
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
8731
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
8732
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
8732
8733
  readonly writable: WritableStream<string>;
8733
8734
  }
8734
8735
 
@@ -8829,13 +8830,13 @@ declare var TextMetrics: {
8829
8830
  */
8830
8831
  interface TransformStream<I = any, O = any> {
8831
8832
  /**
8832
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
8833
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
8833
8834
  *
8834
8835
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
8835
8836
  */
8836
8837
  readonly readable: ReadableStream<O>;
8837
8838
  /**
8838
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
8839
+ * 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.
8839
8840
  *
8840
8841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
8841
8842
  */
@@ -12312,7 +12313,7 @@ interface WorkerGlobalScopeEventMap {
12312
12313
  */
12313
12314
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
12314
12315
  /**
12315
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12316
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12316
12317
  *
12317
12318
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
12318
12319
  */
@@ -13293,7 +13294,7 @@ declare function postMessage(message: any, options?: StructuredSerializeOptions)
13293
13294
  */
13294
13295
  declare function dispatchEvent(event: Event): boolean;
13295
13296
  /**
13296
- * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13297
+ * The read-only **`location`** property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13297
13298
  *
13298
13299
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
13299
13300
  */