Skip to content

Commit f410e03

Browse files
committed
Update 2025-12-10
1 parent 9462603 commit f410e03

8 files changed

+580
-150
lines changed

src/lib/dom.generated.d.ts

Lines changed: 525 additions & 94 deletions
Large diffs are not rendered by default.

src/lib/webworker.generated.d.ts

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,8 +1088,8 @@ interface WebTransportErrorOptions {
10881088
}
10891089

10901090
interface WebTransportHash {
1091-
algorithm?: string;
1092-
value?: BufferSource;
1091+
algorithm: string;
1092+
value: BufferSource;
10931093
}
10941094

10951095
interface WebTransportOptions {
@@ -2665,14 +2665,14 @@ declare var CloseEvent: {
26652665
};
26662666

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

@@ -3589,14 +3589,14 @@ declare var DOMStringList: {
35893589
};
35903590

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

@@ -7181,7 +7181,7 @@ interface PushMessageData {
71817181
*/
71827182
blob(): Blob;
71837183
/**
7184-
* The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.
7184+
* The **`bytes()`** method of the PushMessageData interface extracts push message data as a Uint8Array object.
71857185
*
71867186
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)
71877187
*/
@@ -7465,7 +7465,7 @@ interface RTCEncodedVideoFrame {
74657465
*
74667466
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
74677467
*/
7468-
readonly type: RTCEncodedVideoFrameType;
7468+
readonly type: EncodedVideoChunkType;
74697469
/**
74707470
* The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
74717471
*
@@ -8670,14 +8670,14 @@ interface TextDecoderCommon {
86708670
}
86718671

86728672
/**
8673-
* The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder.
8673+
* The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings. It is the streaming equivalent of TextDecoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
86748674
*
86758675
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
86768676
*/
86778677
interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
8678-
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
8678+
/** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream that emits decoded strings. */
86798679
readonly readable: ReadableStream<string>;
8680-
/** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
8680+
/** 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. */
86818681
readonly writable: WritableStream<BufferSource>;
86828682
}
86838683

@@ -8721,14 +8721,14 @@ interface TextEncoderCommon {
87218721
}
87228722

87238723
/**
8724-
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder.
8724+
* The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding. It is the streaming equivalent of TextEncoder. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods.
87258725
*
87268726
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
87278727
*/
87288728
interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
8729-
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
8729+
/** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream that emits encoded binary data as Uint8Array chunks. */
87308730
readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
8731-
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
8731+
/** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream that accepts strings to be encoded into binary data. */
87328732
readonly writable: WritableStream<string>;
87338733
}
87348734

@@ -8829,13 +8829,13 @@ declare var TextMetrics: {
88298829
*/
88308830
interface TransformStream<I = any, O = any> {
88318831
/**
8832-
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream.
8832+
* The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this TransformStream. This stream emits the transformed output data.
88338833
*
88348834
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)
88358835
*/
88368836
readonly readable: ReadableStream<O>;
88378837
/**
8838-
* The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this TransformStream.
8838+
* 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.
88398839
*
88408840
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)
88418841
*/
@@ -11300,6 +11300,7 @@ interface WebGLRenderingContextBase {
1130011300
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */
1130111301
getError(): GLenum;
1130211302
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */
11303+
getExtension(name: string): any;
1130311304
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
1130411305
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
1130511306
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
@@ -11334,7 +11335,6 @@ interface WebGLRenderingContextBase {
1133411335
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
1133511336
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
1133611337
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
11337-
getExtension(name: string): any;
1133811338
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */
1133911339
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
1134011340
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */
@@ -12312,7 +12312,7 @@ interface WorkerGlobalScopeEventMap {
1231212312
*/
1231312313
interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {
1231412314
/**
12315-
* The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
12315+
* 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.
1231612316
*
1231712317
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
1231812318
*/
@@ -13293,7 +13293,7 @@ declare function postMessage(message: any, options?: StructuredSerializeOptions)
1329313293
*/
1329413294
declare function dispatchEvent(event: Event): boolean;
1329513295
/**
13296-
* The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker. It is a specific location object, mostly a subset of the Location for browsing scopes, but adapted to workers.
13296+
* 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.
1329713297
*
1329813298
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)
1329913299
*/
@@ -13505,7 +13505,6 @@ type PredefinedColorSpace = "display-p3" | "srgb";
1350513505
type PremultiplyAlpha = "default" | "none" | "premultiply";
1350613506
type PushEncryptionKeyName = "auth" | "p256dh";
1350713507
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
13508-
type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
1350913508
type ReadableStreamReaderMode = "byob";
1351013509
type ReadableStreamType = "bytes";
1351113510
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";

tests/baselines/reference/callsOnComplexSignatures.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//// [tests/cases/compiler/callsOnComplexSignatures.tsx] ////
22

33
=== Performance Stats ===
4-
Assignability cache: 2,500
4+
Assignability cache: 5,000
55
Type Count: 10,000
66
Instantiation count: 100,000
7-
Symbol count: 50,000
7+
Symbol count: 50,000 -> 100,000
88

99
=== callsOnComplexSignatures.tsx ===
1010
/// <reference path="react16.d.ts" />

tests/baselines/reference/globalThisBlockscopedProperties.types

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

tests/baselines/reference/jsxElementType.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//// [tests/cases/compiler/jsxElementType.tsx] ////
22

33
=== Performance Stats ===
4-
Assignability cache: 2,500
4+
Assignability cache: 2,500 -> 5,000
55
Type Count: 10,000
66
Instantiation count: 100,000
77
Symbol count: 50,000

0 commit comments

Comments
 (0)