Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions baselines/audioworklet.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,14 +345,14 @@ declare var ByteLengthQueuingStrategy: {
};

/**
* The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.
* 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.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
*/
interface CompressionStream extends GenericTransformStream {
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
/** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream that emits compressed data as Uint8Array chunks. */
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
/** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
/** 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. */
readonly writable: WritableStream<BufferSource>;
}

Expand Down Expand Up @@ -491,14 +491,14 @@ declare var DOMException: {
};

/**
* The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.
* 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.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
*/
interface DecompressionStream extends GenericTransformStream {
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
/** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. */
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
/** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
/** 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. */
readonly writable: WritableStream<BufferSource>;
}

Expand Down Expand Up @@ -1118,14 +1118,14 @@ interface TextDecoderCommon {
}

/**
* 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.
* 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.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
*/
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
readonly readable: ReadableStream<string>;
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
/** 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. */
readonly writable: WritableStream<BufferSource>;
}

Expand Down Expand Up @@ -1169,14 +1169,14 @@ interface TextEncoderCommon {
}

/**
* 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.
* 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.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
*/
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
readonly writable: WritableStream<string>;
}

Expand All @@ -1192,13 +1192,13 @@ declare var TextEncoderStream: {
*/
interface TransformStream<I = any, O = any> {
/**
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
*/
readonly readable: ReadableStream<O>;
/**
* The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
* 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.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
*/
Expand Down
Loading