@types/serviceworker 0.0.166 → 0.0.168

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.166 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.166.
31
+ You can read what changed in version 0.0.168 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.168.
package/index.d.ts CHANGED
@@ -853,8 +853,8 @@ interface WebTransportErrorOptions {
853
853
  }
854
854
 
855
855
  interface WebTransportHash {
856
- algorithm?: string;
857
- value?: BufferSource;
856
+ algorithm: string;
857
+ value: BufferSource;
858
858
  }
859
859
 
860
860
  interface WebTransportOptions {
@@ -2200,14 +2200,14 @@ declare var CloseEvent: {
2200
2200
  };
2201
2201
 
2202
2202
  /**
2203
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2203
+ * 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
2204
  *
2205
2205
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2206
2206
  */
2207
2207
  interface CompressionStream extends GenericTransformStream {
2208
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2208
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2209
2209
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
2210
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2210
+ /** 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
2211
  readonly writable: WritableStream<BufferSource>;
2212
2212
  }
2213
2213
 
@@ -3124,14 +3124,14 @@ declare var DOMStringList: {
3124
3124
  };
3125
3125
 
3126
3126
  /**
3127
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3127
+ * 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
3128
  *
3129
3129
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3130
3130
  */
3131
3131
  interface DecompressionStream extends GenericTransformStream {
3132
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3132
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3133
3133
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
3134
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3134
+ /** 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
3135
  readonly writable: WritableStream<BufferSource>;
3136
3136
  }
3137
3137
 
@@ -6321,7 +6321,7 @@ interface PushMessageData {
6321
6321
  */
6322
6322
  blob(): Blob;
6323
6323
  /**
6324
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6324
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6325
6325
  *
6326
6326
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6327
6327
  */
@@ -7526,14 +7526,14 @@ interface TextDecoderCommon {
7526
7526
  }
7527
7527
 
7528
7528
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7530
7530
  *
7531
7531
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7532
7532
  */
7533
7533
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7534
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7534
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7535
7535
  readonly readable: ReadableStream<string>;
7536
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7536
+ /** 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
7537
  readonly writable: WritableStream<BufferSource>;
7538
7538
  }
7539
7539
 
@@ -7577,14 +7577,14 @@ interface TextEncoderCommon {
7577
7577
  }
7578
7578
 
7579
7579
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7581
7581
  *
7582
7582
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7583
7583
  */
7584
7584
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7585
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7585
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7586
7586
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
7587
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7587
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7588
7588
  readonly writable: WritableStream<string>;
7589
7589
  }
7590
7590
 
@@ -7685,13 +7685,13 @@ declare var TextMetrics: {
7685
7685
  */
7686
7686
  interface TransformStream<I = any, O = any> {
7687
7687
  /**
7688
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7688
+ * 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
7689
  *
7690
7690
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7691
7691
  */
7692
7692
  readonly readable: ReadableStream<O>;
7693
7693
  /**
7694
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7694
+ * 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
7695
  *
7696
7696
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7697
7697
  */
@@ -9859,6 +9859,7 @@ interface WebGLRenderingContextBase {
9859
9859
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
9860
9860
  getError(): GLenum;
9861
9861
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
9862
+ getExtension(name: string): any;
9862
9863
  getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
9863
9864
  getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
9864
9865
  getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
@@ -9893,7 +9894,6 @@ interface WebGLRenderingContextBase {
9893
9894
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
9894
9895
  getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
9895
9896
  getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
9896
- getExtension(name: string): any;
9897
9897
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
9898
9898
  getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
9899
9899
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
@@ -10838,7 +10838,7 @@ interface WorkerGlobalScopeEventMap {
10838
10838
  */
10839
10839
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10840
10840
  /**
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.
10841
+ * 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
10842
  *
10843
10843
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10844
10844
  */
@@ -11637,7 +11637,7 @@ declare function skipWaiting(): Promise<void>;
11637
11637
  */
11638
11638
  declare function dispatchEvent(event: Event): boolean;
11639
11639
  /**
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.
11640
+ * 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
11641
  *
11642
11642
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11643
11643
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.166",
3
+ "version": "0.0.168",
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
@@ -850,8 +850,8 @@ interface WebTransportErrorOptions {
850
850
  }
851
851
 
852
852
  interface WebTransportHash {
853
- algorithm?: string;
854
- value?: BufferSource;
853
+ algorithm: string;
854
+ value: BufferSource;
855
855
  }
856
856
 
857
857
  interface WebTransportOptions {
@@ -2197,14 +2197,14 @@ declare var CloseEvent: {
2197
2197
  };
2198
2198
 
2199
2199
  /**
2200
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2200
+ * 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
2201
  *
2202
2202
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2203
2203
  */
2204
2204
  interface CompressionStream extends GenericTransformStream {
2205
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2205
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2206
2206
  readonly readable: ReadableStream<Uint8Array>;
2207
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2207
+ /** 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
2208
  readonly writable: WritableStream<BufferSource>;
2209
2209
  }
2210
2210
 
@@ -3121,14 +3121,14 @@ declare var DOMStringList: {
3121
3121
  };
3122
3122
 
3123
3123
  /**
3124
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3124
+ * 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
3125
  *
3126
3126
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3127
3127
  */
3128
3128
  interface DecompressionStream extends GenericTransformStream {
3129
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3129
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3130
3130
  readonly readable: ReadableStream<Uint8Array>;
3131
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3131
+ /** 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
3132
  readonly writable: WritableStream<BufferSource>;
3133
3133
  }
3134
3134
 
@@ -6318,7 +6318,7 @@ interface PushMessageData {
6318
6318
  */
6319
6319
  blob(): Blob;
6320
6320
  /**
6321
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6321
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6322
6322
  *
6323
6323
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6324
6324
  */
@@ -7523,14 +7523,14 @@ interface TextDecoderCommon {
7523
7523
  }
7524
7524
 
7525
7525
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7527
7527
  *
7528
7528
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7529
7529
  */
7530
7530
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7531
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7531
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7532
7532
  readonly readable: ReadableStream<string>;
7533
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7533
+ /** 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
7534
  readonly writable: WritableStream<BufferSource>;
7535
7535
  }
7536
7536
 
@@ -7574,14 +7574,14 @@ interface TextEncoderCommon {
7574
7574
  }
7575
7575
 
7576
7576
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7578
7578
  *
7579
7579
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7580
7580
  */
7581
7581
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7582
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7582
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7583
7583
  readonly readable: ReadableStream<Uint8Array>;
7584
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7584
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7585
7585
  readonly writable: WritableStream<string>;
7586
7586
  }
7587
7587
 
@@ -7682,13 +7682,13 @@ declare var TextMetrics: {
7682
7682
  */
7683
7683
  interface TransformStream<I = any, O = any> {
7684
7684
  /**
7685
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7685
+ * 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
7686
  *
7687
7687
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7688
7688
  */
7689
7689
  readonly readable: ReadableStream<O>;
7690
7690
  /**
7691
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7691
+ * 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
7692
  *
7693
7693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7694
7694
  */
@@ -9856,6 +9856,7 @@ interface WebGLRenderingContextBase {
9856
9856
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
9857
9857
  getError(): GLenum;
9858
9858
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
9859
+ getExtension(name: string): any;
9859
9860
  getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
9860
9861
  getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
9861
9862
  getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
@@ -9890,7 +9891,6 @@ interface WebGLRenderingContextBase {
9890
9891
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
9891
9892
  getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
9892
9893
  getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
9893
- getExtension(name: string): any;
9894
9894
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
9895
9895
  getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
9896
9896
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
@@ -10835,7 +10835,7 @@ interface WorkerGlobalScopeEventMap {
10835
10835
  */
10836
10836
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10837
10837
  /**
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.
10838
+ * 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
10839
  *
10840
10840
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10841
10841
  */
@@ -11634,7 +11634,7 @@ declare function skipWaiting(): Promise<void>;
11634
11634
  */
11635
11635
  declare function dispatchEvent(event: Event): boolean;
11636
11636
  /**
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.
11637
+ * 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
11638
  *
11639
11639
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11640
11640
  */
package/ts5.6/index.d.ts CHANGED
@@ -850,8 +850,8 @@ interface WebTransportErrorOptions {
850
850
  }
851
851
 
852
852
  interface WebTransportHash {
853
- algorithm?: string;
854
- value?: BufferSource;
853
+ algorithm: string;
854
+ value: BufferSource;
855
855
  }
856
856
 
857
857
  interface WebTransportOptions {
@@ -2197,14 +2197,14 @@ declare var CloseEvent: {
2197
2197
  };
2198
2198
 
2199
2199
  /**
2200
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2200
+ * 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
2201
  *
2202
2202
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2203
2203
  */
2204
2204
  interface CompressionStream extends GenericTransformStream {
2205
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2205
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2206
2206
  readonly readable: ReadableStream<Uint8Array>;
2207
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2207
+ /** 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
2208
  readonly writable: WritableStream<BufferSource>;
2209
2209
  }
2210
2210
 
@@ -3121,14 +3121,14 @@ declare var DOMStringList: {
3121
3121
  };
3122
3122
 
3123
3123
  /**
3124
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3124
+ * 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
3125
  *
3126
3126
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3127
3127
  */
3128
3128
  interface DecompressionStream extends GenericTransformStream {
3129
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3129
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3130
3130
  readonly readable: ReadableStream<Uint8Array>;
3131
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3131
+ /** 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
3132
  readonly writable: WritableStream<BufferSource>;
3133
3133
  }
3134
3134
 
@@ -6318,7 +6318,7 @@ interface PushMessageData {
6318
6318
  */
6319
6319
  blob(): Blob;
6320
6320
  /**
6321
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6321
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6322
6322
  *
6323
6323
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6324
6324
  */
@@ -7523,14 +7523,14 @@ interface TextDecoderCommon {
7523
7523
  }
7524
7524
 
7525
7525
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7527
7527
  *
7528
7528
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7529
7529
  */
7530
7530
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7531
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7531
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7532
7532
  readonly readable: ReadableStream<string>;
7533
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7533
+ /** 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
7534
  readonly writable: WritableStream<BufferSource>;
7535
7535
  }
7536
7536
 
@@ -7574,14 +7574,14 @@ interface TextEncoderCommon {
7574
7574
  }
7575
7575
 
7576
7576
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7578
7578
  *
7579
7579
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7580
7580
  */
7581
7581
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7582
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7582
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7583
7583
  readonly readable: ReadableStream<Uint8Array>;
7584
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7584
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7585
7585
  readonly writable: WritableStream<string>;
7586
7586
  }
7587
7587
 
@@ -7682,13 +7682,13 @@ declare var TextMetrics: {
7682
7682
  */
7683
7683
  interface TransformStream<I = any, O = any> {
7684
7684
  /**
7685
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7685
+ * 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
7686
  *
7687
7687
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7688
7688
  */
7689
7689
  readonly readable: ReadableStream<O>;
7690
7690
  /**
7691
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7691
+ * 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
7692
  *
7693
7693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7694
7694
  */
@@ -9856,6 +9856,7 @@ interface WebGLRenderingContextBase {
9856
9856
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
9857
9857
  getError(): GLenum;
9858
9858
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
9859
+ getExtension(name: string): any;
9859
9860
  getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
9860
9861
  getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
9861
9862
  getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
@@ -9890,7 +9891,6 @@ interface WebGLRenderingContextBase {
9890
9891
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
9891
9892
  getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
9892
9893
  getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
9893
- getExtension(name: string): any;
9894
9894
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
9895
9895
  getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
9896
9896
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
@@ -10835,7 +10835,7 @@ interface WorkerGlobalScopeEventMap {
10835
10835
  */
10836
10836
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10837
10837
  /**
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.
10838
+ * 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
10839
  *
10840
10840
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10841
10841
  */
@@ -11634,7 +11634,7 @@ declare function skipWaiting(): Promise<void>;
11634
11634
  */
11635
11635
  declare function dispatchEvent(event: Event): boolean;
11636
11636
  /**
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.
11637
+ * 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
11638
  *
11639
11639
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11640
11640
  */
package/ts5.9/index.d.ts CHANGED
@@ -850,8 +850,8 @@ interface WebTransportErrorOptions {
850
850
  }
851
851
 
852
852
  interface WebTransportHash {
853
- algorithm?: string;
854
- value?: BufferSource;
853
+ algorithm: string;
854
+ value: BufferSource;
855
855
  }
856
856
 
857
857
  interface WebTransportOptions {
@@ -2197,14 +2197,14 @@ declare var CloseEvent: {
2197
2197
  };
2198
2198
 
2199
2199
  /**
2200
- * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
2200
+ * 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
2201
  *
2202
2202
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
2203
2203
  */
2204
2204
  interface CompressionStream extends GenericTransformStream {
2205
- /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
2205
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
2206
2206
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
2207
- /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
2207
+ /** 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
2208
  readonly writable: WritableStream<BufferSource>;
2209
2209
  }
2210
2210
 
@@ -3121,14 +3121,14 @@ declare var DOMStringList: {
3121
3121
  };
3122
3122
 
3123
3123
  /**
3124
- * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
3124
+ * 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
3125
  *
3126
3126
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
3127
3127
  */
3128
3128
  interface DecompressionStream extends GenericTransformStream {
3129
- /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
3129
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
3130
3130
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
3131
- /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
3131
+ /** 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
3132
  readonly writable: WritableStream<BufferSource>;
3133
3133
  }
3134
3134
 
@@ -6318,7 +6318,7 @@ interface PushMessageData {
6318
6318
  */
6319
6319
  blob(): Blob;
6320
6320
  /**
6321
- * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
6321
+ * The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
6322
6322
  *
6323
6323
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
6324
6324
  */
@@ -7523,14 +7523,14 @@ interface TextDecoderCommon {
7523
7523
  }
7524
7524
 
7525
7525
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7527
7527
  *
7528
7528
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
7529
7529
  */
7530
7530
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
7531
- /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
7531
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
7532
7532
  readonly readable: ReadableStream<string>;
7533
- /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
7533
+ /** 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
7534
  readonly writable: WritableStream<BufferSource>;
7535
7535
  }
7536
7536
 
@@ -7574,14 +7574,14 @@ interface TextEncoderCommon {
7574
7574
  }
7575
7575
 
7576
7576
  /**
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.
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. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
7578
7578
  *
7579
7579
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
7580
7580
  */
7581
7581
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
7582
- /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
7582
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
7583
7583
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
7584
- /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
7584
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
7585
7585
  readonly writable: WritableStream<string>;
7586
7586
  }
7587
7587
 
@@ -7682,13 +7682,13 @@ declare var TextMetrics: {
7682
7682
  */
7683
7683
  interface TransformStream<I = any, O = any> {
7684
7684
  /**
7685
- * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
7685
+ * 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
7686
  *
7687
7687
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
7688
7688
  */
7689
7689
  readonly readable: ReadableStream<O>;
7690
7690
  /**
7691
- * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
7691
+ * 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
7692
  *
7693
7693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
7694
7694
  */
@@ -9856,6 +9856,7 @@ interface WebGLRenderingContextBase {
9856
9856
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
9857
9857
  getError(): GLenum;
9858
9858
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
9859
+ getExtension(name: string): any;
9859
9860
  getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
9860
9861
  getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
9861
9862
  getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
@@ -9890,7 +9891,6 @@ interface WebGLRenderingContextBase {
9890
9891
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
9891
9892
  getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
9892
9893
  getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
9893
- getExtension(name: string): any;
9894
9894
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
9895
9895
  getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
9896
9896
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
@@ -10835,7 +10835,7 @@ interface WorkerGlobalScopeEventMap {
10835
10835
  */
10836
10836
  interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
10837
10837
  /**
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.
10838
+ * 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
10839
  *
10840
10840
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
10841
10841
  */
@@ -11634,7 +11634,7 @@ declare function skipWaiting(): Promise<void>;
11634
11634
  */
11635
11635
  declare function dispatchEvent(event: Event): boolean;
11636
11636
  /**
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.
11637
+ * 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
11638
  *
11639
11639
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
11640
11640
  */