@types/serviceworker 0.0.167 → 0.0.169

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.167 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.167.
31
+ You can read what changed in version 0.0.169 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.169.
package/index.d.ts CHANGED
@@ -267,6 +267,7 @@ interface FontFaceDescriptors {
267
267
  stretch?: string;
268
268
  style?: string;
269
269
  unicodeRange?: string;
270
+ variationSettings?: string;
270
271
  weight?: string;
271
272
  }
272
273
 
@@ -853,8 +854,8 @@ interface WebTransportErrorOptions {
853
854
  }
854
855
 
855
856
  interface WebTransportHash {
856
- algorithm?: string;
857
- value?: BufferSource;
857
+ algorithm: string;
858
+ value: BufferSource;
858
859
  }
859
860
 
860
861
  interface WebTransportOptions {
@@ -2200,14 +2201,14 @@ declare var CloseEvent: {
2200
2201
  };
2201
2202
 
2202
2203
  /**
2203
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2204
+ * 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.
2204
2205
  *
2205
2206
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2206
2207
  */
2207
2208
  interface CompressionStream extends GenericTransformStream {
2208
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2209
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2209
2210
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
2210
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2211
+ /** 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. */
2211
2212
  readonly writable: WritableStream<BufferSource>;
2212
2213
  }
2213
2214
 
@@ -3124,14 +3125,14 @@ declare var DOMStringList: {
3124
3125
  };
3125
3126
 
3126
3127
  /**
3127
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3128
+ * 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.
3128
3129
  *
3129
3130
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3130
3131
  */
3131
3132
  interface DecompressionStream extends GenericTransformStream {
3132
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3133
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3133
3134
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
3134
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3135
+ /** 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. */
3135
3136
  readonly writable: WritableStream<BufferSource>;
3136
3137
  }
3137
3138
 
@@ -6321,7 +6322,7 @@ interface PushMessageData {
6321
6322
  */
6322
6323
  blob(): Blob;
6323
6324
  /**
6324
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6325
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6325
6326
  *
6326
6327
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6327
6328
  */
@@ -7526,14 +7527,14 @@ interface TextDecoderCommon {
7526
7527
  }
7527
7528
 
7528
7529
  /**
7529
- * 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.
7530
+ * 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.
7530
7531
  *
7531
7532
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7532
7533
  */
7533
7534
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7534
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7535
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7535
7536
  readonly readable: ReadableStream<string>;
7536
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7537
+ /** 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. */
7537
7538
  readonly writable: WritableStream<BufferSource>;
7538
7539
  }
7539
7540
 
@@ -7577,14 +7578,14 @@ interface TextEncoderCommon {
7577
7578
  }
7578
7579
 
7579
7580
  /**
7580
- * 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.
7581
+ * 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.
7581
7582
  *
7582
7583
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7583
7584
  */
7584
7585
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7585
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7586
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7586
7587
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
7587
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7588
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7588
7589
  readonly writable: WritableStream<string>;
7589
7590
  }
7590
7591
 
@@ -7685,13 +7686,13 @@ declare var TextMetrics: {
7685
7686
  */
7686
7687
  interface TransformStream<I = any, O = any> {
7687
7688
  /**
7688
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7689
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
7689
7690
  *
7690
7691
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7691
7692
  */
7692
7693
  readonly readable: ReadableStream<O>;
7693
7694
  /**
7694
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7695
+ * 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.
7695
7696
  *
7696
7697
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7697
7698
  */
@@ -10838,7 +10839,7 @@ interface WorkerGlobalScopeEventMap {
10838
10839
  */
10839
10840
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10840
10841
  /**
10841
- * 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.
10842
+ * 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.
10842
10843
  *
10843
10844
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10844
10845
  */
@@ -11637,7 +11638,7 @@ declare function skipWaiting(): Promise<void>;
11637
11638
  */
11638
11639
  declare function dispatchEvent(event: Event): boolean;
11639
11640
  /**
11640
- * 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.
11641
+ * 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.
11641
11642
  *
11642
11643
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11643
11644
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.167",
3
+ "version": "0.0.169",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -264,6 +264,7 @@ interface FontFaceDescriptors {
264
264
  stretch?: string;
265
265
  style?: string;
266
266
  unicodeRange?: string;
267
+ variationSettings?: string;
267
268
  weight?: string;
268
269
  }
269
270
 
@@ -850,8 +851,8 @@ interface WebTransportErrorOptions {
850
851
  }
851
852
 
852
853
  interface WebTransportHash {
853
- algorithm?: string;
854
- value?: BufferSource;
854
+ algorithm: string;
855
+ value: BufferSource;
855
856
  }
856
857
 
857
858
  interface WebTransportOptions {
@@ -2197,14 +2198,14 @@ declare var CloseEvent: {
2197
2198
  };
2198
2199
 
2199
2200
  /**
2200
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2201
+ * 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.
2201
2202
  *
2202
2203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2203
2204
  */
2204
2205
  interface CompressionStream extends GenericTransformStream {
2205
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2206
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2206
2207
  readonly readable: ReadableStream<Uint8Array>;
2207
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2208
+ /** 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. */
2208
2209
  readonly writable: WritableStream<BufferSource>;
2209
2210
  }
2210
2211
 
@@ -3121,14 +3122,14 @@ declare var DOMStringList: {
3121
3122
  };
3122
3123
 
3123
3124
  /**
3124
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3125
+ * 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.
3125
3126
  *
3126
3127
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3127
3128
  */
3128
3129
  interface DecompressionStream extends GenericTransformStream {
3129
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3130
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3130
3131
  readonly readable: ReadableStream<Uint8Array>;
3131
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3132
+ /** 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. */
3132
3133
  readonly writable: WritableStream<BufferSource>;
3133
3134
  }
3134
3135
 
@@ -6318,7 +6319,7 @@ interface PushMessageData {
6318
6319
  */
6319
6320
  blob(): Blob;
6320
6321
  /**
6321
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6322
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6322
6323
  *
6323
6324
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6324
6325
  */
@@ -7523,14 +7524,14 @@ interface TextDecoderCommon {
7523
7524
  }
7524
7525
 
7525
7526
  /**
7526
- * 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.
7527
+ * 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.
7527
7528
  *
7528
7529
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7529
7530
  */
7530
7531
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7531
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7532
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7532
7533
  readonly readable: ReadableStream<string>;
7533
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7534
+ /** 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. */
7534
7535
  readonly writable: WritableStream<BufferSource>;
7535
7536
  }
7536
7537
 
@@ -7574,14 +7575,14 @@ interface TextEncoderCommon {
7574
7575
  }
7575
7576
 
7576
7577
  /**
7577
- * 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.
7578
+ * 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.
7578
7579
  *
7579
7580
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7580
7581
  */
7581
7582
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7582
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7583
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7583
7584
  readonly readable: ReadableStream<Uint8Array>;
7584
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7585
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7585
7586
  readonly writable: WritableStream<string>;
7586
7587
  }
7587
7588
 
@@ -7682,13 +7683,13 @@ declare var TextMetrics: {
7682
7683
  */
7683
7684
  interface TransformStream<I = any, O = any> {
7684
7685
  /**
7685
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7686
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
7686
7687
  *
7687
7688
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7688
7689
  */
7689
7690
  readonly readable: ReadableStream<O>;
7690
7691
  /**
7691
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7692
+ * 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.
7692
7693
  *
7693
7694
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7694
7695
  */
@@ -10835,7 +10836,7 @@ interface WorkerGlobalScopeEventMap {
10835
10836
  */
10836
10837
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10837
10838
  /**
10838
- * 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.
10839
+ * 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.
10839
10840
  *
10840
10841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10841
10842
  */
@@ -11634,7 +11635,7 @@ declare function skipWaiting(): Promise<void>;
11634
11635
  */
11635
11636
  declare function dispatchEvent(event: Event): boolean;
11636
11637
  /**
11637
- * 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.
11638
+ * 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.
11638
11639
  *
11639
11640
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11640
11641
  */
package/ts5.6/index.d.ts CHANGED
@@ -264,6 +264,7 @@ interface FontFaceDescriptors {
264
264
  stretch?: string;
265
265
  style?: string;
266
266
  unicodeRange?: string;
267
+ variationSettings?: string;
267
268
  weight?: string;
268
269
  }
269
270
 
@@ -850,8 +851,8 @@ interface WebTransportErrorOptions {
850
851
  }
851
852
 
852
853
  interface WebTransportHash {
853
- algorithm?: string;
854
- value?: BufferSource;
854
+ algorithm: string;
855
+ value: BufferSource;
855
856
  }
856
857
 
857
858
  interface WebTransportOptions {
@@ -2197,14 +2198,14 @@ declare var CloseEvent: {
2197
2198
  };
2198
2199
 
2199
2200
  /**
2200
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2201
+ * 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.
2201
2202
  *
2202
2203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2203
2204
  */
2204
2205
  interface CompressionStream extends GenericTransformStream {
2205
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2206
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2206
2207
  readonly readable: ReadableStream<Uint8Array>;
2207
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2208
+ /** 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. */
2208
2209
  readonly writable: WritableStream<BufferSource>;
2209
2210
  }
2210
2211
 
@@ -3121,14 +3122,14 @@ declare var DOMStringList: {
3121
3122
  };
3122
3123
 
3123
3124
  /**
3124
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3125
+ * 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.
3125
3126
  *
3126
3127
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3127
3128
  */
3128
3129
  interface DecompressionStream extends GenericTransformStream {
3129
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3130
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3130
3131
  readonly readable: ReadableStream<Uint8Array>;
3131
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3132
+ /** 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. */
3132
3133
  readonly writable: WritableStream<BufferSource>;
3133
3134
  }
3134
3135
 
@@ -6318,7 +6319,7 @@ interface PushMessageData {
6318
6319
  */
6319
6320
  blob(): Blob;
6320
6321
  /**
6321
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6322
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6322
6323
  *
6323
6324
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6324
6325
  */
@@ -7523,14 +7524,14 @@ interface TextDecoderCommon {
7523
7524
  }
7524
7525
 
7525
7526
  /**
7526
- * 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.
7527
+ * 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.
7527
7528
  *
7528
7529
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7529
7530
  */
7530
7531
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7531
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7532
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7532
7533
  readonly readable: ReadableStream<string>;
7533
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7534
+ /** 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. */
7534
7535
  readonly writable: WritableStream<BufferSource>;
7535
7536
  }
7536
7537
 
@@ -7574,14 +7575,14 @@ interface TextEncoderCommon {
7574
7575
  }
7575
7576
 
7576
7577
  /**
7577
- * 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.
7578
+ * 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.
7578
7579
  *
7579
7580
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7580
7581
  */
7581
7582
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7582
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7583
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7583
7584
  readonly readable: ReadableStream<Uint8Array>;
7584
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7585
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7585
7586
  readonly writable: WritableStream<string>;
7586
7587
  }
7587
7588
 
@@ -7682,13 +7683,13 @@ declare var TextMetrics: {
7682
7683
  */
7683
7684
  interface TransformStream<I = any, O = any> {
7684
7685
  /**
7685
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7686
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
7686
7687
  *
7687
7688
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7688
7689
  */
7689
7690
  readonly readable: ReadableStream<O>;
7690
7691
  /**
7691
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7692
+ * 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.
7692
7693
  *
7693
7694
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7694
7695
  */
@@ -10835,7 +10836,7 @@ interface WorkerGlobalScopeEventMap {
10835
10836
  */
10836
10837
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10837
10838
  /**
10838
- * 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.
10839
+ * 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.
10839
10840
  *
10840
10841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10841
10842
  */
@@ -11634,7 +11635,7 @@ declare function skipWaiting(): Promise<void>;
11634
11635
  */
11635
11636
  declare function dispatchEvent(event: Event): boolean;
11636
11637
  /**
11637
- * 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.
11638
+ * 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.
11638
11639
  *
11639
11640
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11640
11641
  */
package/ts5.9/index.d.ts CHANGED
@@ -264,6 +264,7 @@ interface FontFaceDescriptors {
264
264
  stretch?: string;
265
265
  style?: string;
266
266
  unicodeRange?: string;
267
+ variationSettings?: string;
267
268
  weight?: string;
268
269
  }
269
270
 
@@ -850,8 +851,8 @@ interface WebTransportErrorOptions {
850
851
  }
851
852
 
852
853
  interface WebTransportHash {
853
- algorithm?: string;
854
- value?: BufferSource;
854
+ algorithm: string;
855
+ value: BufferSource;
855
856
  }
856
857
 
857
858
  interface WebTransportOptions {
@@ -2197,14 +2198,14 @@ declare var CloseEvent: {
2197
2198
  };
2198
2199
 
2199
2200
  /**
2200
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2201
+ * 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.
2201
2202
  *
2202
2203
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2203
2204
  */
2204
2205
  interface CompressionStream extends GenericTransformStream {
2205
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2206
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2206
2207
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
2207
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2208
+ /** 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. */
2208
2209
  readonly writable: WritableStream<BufferSource>;
2209
2210
  }
2210
2211
 
@@ -3121,14 +3122,14 @@ declare var DOMStringList: {
3121
3122
  };
3122
3123
 
3123
3124
  /**
3124
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3125
+ * 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.
3125
3126
  *
3126
3127
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3127
3128
  */
3128
3129
  interface DecompressionStream extends GenericTransformStream {
3129
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3130
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3130
3131
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
3131
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3132
+ /** 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. */
3132
3133
  readonly writable: WritableStream<BufferSource>;
3133
3134
  }
3134
3135
 
@@ -6318,7 +6319,7 @@ interface PushMessageData {
6318
6319
  */
6319
6320
  blob(): Blob;
6320
6321
  /**
6321
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6322
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6322
6323
  *
6323
6324
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6324
6325
  */
@@ -7523,14 +7524,14 @@ interface TextDecoderCommon {
7523
7524
  }
7524
7525
 
7525
7526
  /**
7526
- * 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.
7527
+ * 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.
7527
7528
  *
7528
7529
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7529
7530
  */
7530
7531
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7531
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7532
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7532
7533
  readonly readable: ReadableStream<string>;
7533
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7534
+ /** 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. */
7534
7535
  readonly writable: WritableStream<BufferSource>;
7535
7536
  }
7536
7537
 
@@ -7574,14 +7575,14 @@ interface TextEncoderCommon {
7574
7575
  }
7575
7576
 
7576
7577
  /**
7577
- * 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.
7578
+ * 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.
7578
7579
  *
7579
7580
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7580
7581
  */
7581
7582
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7582
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7583
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7583
7584
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
7584
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7585
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7585
7586
  readonly writable: WritableStream<string>;
7586
7587
  }
7587
7588
 
@@ -7682,13 +7683,13 @@ declare var TextMetrics: {
7682
7683
  */
7683
7684
  interface TransformStream<I = any, O = any> {
7684
7685
  /**
7685
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7686
+ * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
7686
7687
  *
7687
7688
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7688
7689
  */
7689
7690
  readonly readable: ReadableStream<O>;
7690
7691
  /**
7691
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7692
+ * 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.
7692
7693
  *
7693
7694
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7694
7695
  */
@@ -10835,7 +10836,7 @@ interface WorkerGlobalScopeEventMap {
10835
10836
  */
10836
10837
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10837
10838
  /**
10838
- * 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.
10839
+ * 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.
10839
10840
  *
10840
10841
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10841
10842
  */
@@ -11634,7 +11635,7 @@ declare function skipWaiting(): Promise<void>;
11634
11635
  */
11635
11636
  declare function dispatchEvent(event: Event): boolean;
11636
11637
  /**
11637
- * 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.
11638
+ * 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.
11638
11639
  *
11639
11640
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11640
11641
  */