diff --git a/baselines/audioworklet.generated.d.ts b/baselines/audioworklet.generated.d.ts index 05848c398..9df737331 100644 --- a/baselines/audioworklet.generated.d.ts +++ b/baselines/audioworklet.generated.d.ts @@ -350,7 +350,9 @@ declare var ByteLengthQueuingStrategy: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -494,7 +496,9 @@ declare var DOMException: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1119,7 +1123,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1168,7 +1174,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1538,6 +1546,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -1612,6 +1621,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -1677,6 +1687,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -1923,6 +1934,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 40201c185..353917997 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -10297,7 +10297,9 @@ declare var CompositionEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -11778,7 +11780,9 @@ declare var DataTransferItemList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12280,7 +12284,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */ caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null; - /** @deprecated */ + /** + * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates. + * @deprecated + */ caretRangeFromPoint(x: number, y: number): Range | null; /** * The **`Document.clear()`** method does nothing, but doesn't raise any error. @@ -12477,6 +12484,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock) */ exitPointerLock(): void; + /** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s). @@ -12620,6 +12628,7 @@ declare var Document: { */ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { readonly ownerDocument: Document; + /** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */ get textContent(): string; @@ -15924,6 +15933,7 @@ declare var HTMLDivElement: { new(): HTMLDivElement; }; +/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */ interface HTMLDocument extends Document { addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -23683,6 +23693,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials) */ readonly credentials: CredentialsContainer; + /** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */ readonly doNotTrack: string | null; /** * The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location. @@ -26972,7 +26983,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -26999,7 +27014,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -34238,7 +34257,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -34287,7 +34308,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -38816,7 +38839,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -40226,6 +40253,7 @@ declare namespace CSS { } declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -40300,6 +40328,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -40365,6 +40394,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -40615,6 +40645,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 253805693..172a4d1c5 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -2202,7 +2202,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3124,7 +3126,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7524,7 +7528,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7573,7 +7579,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10689,7 +10697,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -11087,6 +11099,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -11161,6 +11174,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -11226,6 +11240,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11476,6 +11491,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index fb2c082c2..f8fea6302 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -2057,7 +2057,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -2905,7 +2907,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7049,7 +7053,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7098,7 +7104,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10226,7 +10234,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -10807,6 +10819,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -10881,6 +10894,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -10946,6 +10960,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11196,6 +11211,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.5/audioworklet.generated.d.ts b/baselines/ts5.5/audioworklet.generated.d.ts index a7ac45744..2f870d61e 100644 --- a/baselines/ts5.5/audioworklet.generated.d.ts +++ b/baselines/ts5.5/audioworklet.generated.d.ts @@ -347,7 +347,9 @@ declare var ByteLengthQueuingStrategy: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -491,7 +493,9 @@ declare var DOMException: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1116,7 +1120,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1165,7 +1171,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1535,6 +1543,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -1609,6 +1618,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -1674,6 +1684,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -1920,6 +1931,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 61b744bbb..3a0207186 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -10286,7 +10286,9 @@ declare var CompositionEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -11767,7 +11769,9 @@ declare var DataTransferItemList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12269,7 +12273,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */ caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null; - /** @deprecated */ + /** + * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates. + * @deprecated + */ caretRangeFromPoint(x: number, y: number): Range | null; /** * The **`Document.clear()`** method does nothing, but doesn't raise any error. @@ -12466,6 +12473,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock) */ exitPointerLock(): void; + /** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s). @@ -12609,6 +12617,7 @@ declare var Document: { */ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { readonly ownerDocument: Document; + /** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */ get textContent(): string; @@ -15908,6 +15917,7 @@ declare var HTMLDivElement: { new(): HTMLDivElement; }; +/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */ interface HTMLDocument extends Document { addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -23659,6 +23669,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials) */ readonly credentials: CredentialsContainer; + /** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */ readonly doNotTrack: string | null; /** * The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location. @@ -26948,7 +26959,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -26975,7 +26990,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -34212,7 +34231,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -34261,7 +34282,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -38790,7 +38813,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -40200,6 +40227,7 @@ declare namespace CSS { } declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -40274,6 +40302,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -40339,6 +40368,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -40589,6 +40619,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index d414deece..b74711368 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -2199,7 +2199,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3121,7 +3123,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7521,7 +7525,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7570,7 +7576,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10686,7 +10694,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -11084,6 +11096,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -11158,6 +11171,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -11223,6 +11237,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11473,6 +11488,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index ac257bbd2..c0eb2a372 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -2054,7 +2054,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -2902,7 +2904,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7046,7 +7050,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7095,7 +7101,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10223,7 +10231,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -10804,6 +10816,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -10878,6 +10891,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -10943,6 +10957,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11193,6 +11208,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 921c2908d..a63b063d3 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -2667,7 +2667,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3589,7 +3591,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7416,7 +7420,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -7443,7 +7451,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -8660,7 +8672,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -8709,7 +8723,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12122,7 +12138,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -12740,6 +12760,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -12814,6 +12835,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -12879,6 +12901,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -13129,6 +13152,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.6/audioworklet.generated.d.ts b/baselines/ts5.6/audioworklet.generated.d.ts index a7ac45744..2f870d61e 100644 --- a/baselines/ts5.6/audioworklet.generated.d.ts +++ b/baselines/ts5.6/audioworklet.generated.d.ts @@ -347,7 +347,9 @@ declare var ByteLengthQueuingStrategy: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -491,7 +493,9 @@ declare var DOMException: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1116,7 +1120,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1165,7 +1171,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1535,6 +1543,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -1609,6 +1618,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -1674,6 +1684,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -1920,6 +1931,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 346cb7b97..4fa544e9c 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -10294,7 +10294,9 @@ declare var CompositionEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -11775,7 +11777,9 @@ declare var DataTransferItemList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12277,7 +12281,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */ caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null; - /** @deprecated */ + /** + * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates. + * @deprecated + */ caretRangeFromPoint(x: number, y: number): Range | null; /** * The **`Document.clear()`** method does nothing, but doesn't raise any error. @@ -12474,6 +12481,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock) */ exitPointerLock(): void; + /** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s). @@ -12617,6 +12625,7 @@ declare var Document: { */ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { readonly ownerDocument: Document; + /** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */ get textContent(): string; @@ -15921,6 +15930,7 @@ declare var HTMLDivElement: { new(): HTMLDivElement; }; +/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */ interface HTMLDocument extends Document { addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -23680,6 +23690,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials) */ readonly credentials: CredentialsContainer; + /** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */ readonly doNotTrack: string | null; /** * The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location. @@ -26969,7 +26980,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -26996,7 +27011,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -34235,7 +34254,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -34284,7 +34305,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -38813,7 +38836,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -40223,6 +40250,7 @@ declare namespace CSS { } declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -40297,6 +40325,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -40362,6 +40391,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -40612,6 +40642,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index d414deece..b74711368 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -2199,7 +2199,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3121,7 +3123,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7521,7 +7525,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7570,7 +7576,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10686,7 +10694,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -11084,6 +11096,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -11158,6 +11171,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -11223,6 +11237,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11473,6 +11488,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index ac257bbd2..c0eb2a372 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -2054,7 +2054,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -2902,7 +2904,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7046,7 +7050,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7095,7 +7101,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10223,7 +10231,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -10804,6 +10816,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -10878,6 +10891,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -10943,6 +10957,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11193,6 +11208,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 921c2908d..a63b063d3 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -2667,7 +2667,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3589,7 +3591,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7416,7 +7420,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -7443,7 +7451,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -8660,7 +8672,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -8709,7 +8723,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12122,7 +12138,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -12740,6 +12760,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -12814,6 +12835,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -12879,6 +12901,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -13129,6 +13152,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.9/audioworklet.generated.d.ts b/baselines/ts5.9/audioworklet.generated.d.ts index a066891d2..68c578cbb 100644 --- a/baselines/ts5.9/audioworklet.generated.d.ts +++ b/baselines/ts5.9/audioworklet.generated.d.ts @@ -347,7 +347,9 @@ declare var ByteLengthQueuingStrategy: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -491,7 +493,9 @@ declare var DOMException: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1116,7 +1120,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1165,7 +1171,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -1535,6 +1543,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -1609,6 +1618,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -1674,6 +1684,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -1920,6 +1931,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 326ae3aeb..07b8c43d4 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -10294,7 +10294,9 @@ declare var CompositionEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -11775,7 +11777,9 @@ declare var DataTransferItemList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12277,7 +12281,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */ caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null; - /** @deprecated */ + /** + * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates. + * @deprecated + */ caretRangeFromPoint(x: number, y: number): Range | null; /** * The **`Document.clear()`** method does nothing, but doesn't raise any error. @@ -12474,6 +12481,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock) */ exitPointerLock(): void; + /** The **`getElementById()`** method of the Document interface returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s). @@ -12617,6 +12625,7 @@ declare var Document: { */ interface DocumentFragment extends Node, NonElementParentNode, ParentNode { readonly ownerDocument: Document; + /** The **`getElementById()`** method of the DocumentFragment returns an Element object representing the element whose id property matches the specified string. Since element IDs are required to be unique if specified, they're a useful way to get access to a specific element quickly. */ getElementById(elementId: string): HTMLElement | null; /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */ get textContent(): string; @@ -15921,6 +15930,7 @@ declare var HTMLDivElement: { new(): HTMLDivElement; }; +/** For historical reasons, Window objects have a **`window.HTMLDocument`** property whose value is the Document interface. So you can think of HTMLDocument as an alias for Document, and you can find documentation for HTMLDocument members under the documentation for the Document interface. */ interface HTMLDocument extends Document { addEventListener(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; @@ -23680,6 +23690,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials) */ readonly credentials: CredentialsContainer; + /** The **`Navigator.doNotTrack`** property returns the user's Do Not Track setting, which indicates whether the user is requesting websites and advertisers to not track them. */ readonly doNotTrack: string | null; /** * The **`Navigator.geolocation`** read-only property returns a Geolocation object that gives Web content access to the location of the device. This allows a website or app to offer customized results based on the user's location. @@ -26969,7 +26980,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -26996,7 +27011,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -34235,7 +34254,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -34284,7 +34305,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -38813,7 +38836,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -40223,6 +40250,7 @@ declare namespace CSS { } declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -40297,6 +40325,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -40362,6 +40391,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -40612,6 +40642,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.9/serviceworker.generated.d.ts b/baselines/ts5.9/serviceworker.generated.d.ts index 2e86916b0..9f4e3844d 100644 --- a/baselines/ts5.9/serviceworker.generated.d.ts +++ b/baselines/ts5.9/serviceworker.generated.d.ts @@ -2199,7 +2199,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3121,7 +3123,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7521,7 +7525,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7570,7 +7576,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10686,7 +10694,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -11084,6 +11096,7 @@ declare var WritableStreamDefaultWriter: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -11158,6 +11171,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -11223,6 +11237,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11473,6 +11488,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.9/sharedworker.generated.d.ts b/baselines/ts5.9/sharedworker.generated.d.ts index 2d4bf085a..72107e983 100644 --- a/baselines/ts5.9/sharedworker.generated.d.ts +++ b/baselines/ts5.9/sharedworker.generated.d.ts @@ -2054,7 +2054,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -2902,7 +2904,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7046,7 +7050,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7095,7 +7101,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -10223,7 +10231,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -10804,6 +10816,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -10878,6 +10891,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -10943,6 +10957,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -11193,6 +11208,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/ts5.9/webworker.generated.d.ts b/baselines/ts5.9/webworker.generated.d.ts index 70b7cb0ce..54c795456 100644 --- a/baselines/ts5.9/webworker.generated.d.ts +++ b/baselines/ts5.9/webworker.generated.d.ts @@ -2667,7 +2667,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3589,7 +3591,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7416,7 +7420,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -7443,7 +7451,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -8660,7 +8672,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -8709,7 +8723,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12122,7 +12138,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -12740,6 +12760,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -12814,6 +12835,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -12879,6 +12901,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -13129,6 +13152,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index d3f7d19f4..9ea1d7664 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -2670,7 +2670,9 @@ declare var CloseEvent: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -3592,7 +3594,9 @@ declare var DOMStringList: { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -7419,7 +7423,11 @@ interface RTCEncodedAudioFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) + */ readonly timestamp: number; /** * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame. @@ -7446,7 +7454,11 @@ interface RTCEncodedVideoFrame { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */ data: ArrayBuffer; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */ + /** + * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) + */ readonly timestamp: number; /** * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame. @@ -8663,7 +8675,9 @@ interface TextDecoderCommon { * [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. */ readonly readable: ReadableStream; + /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -8712,7 +8726,9 @@ interface TextEncoderCommon { * [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. */ readonly readable: ReadableStream>; + /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */ readonly writable: WritableStream; } @@ -12125,7 +12141,11 @@ interface WebTransportDatagramDuplexStream { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */ readonly readable: ReadableStream; - /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */ + /** + * The **`writable`** read-only property of the WebTransportDatagramDuplexStream interface returns a WritableStream instance that can be used to unreliably write outgoing datagrams to the stream. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) + */ readonly writable: WritableStream; } @@ -12743,6 +12763,7 @@ declare var XMLHttpRequestUpload: { }; declare namespace WebAssembly { + /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */ interface CompileError extends Error { } @@ -12817,6 +12838,7 @@ declare namespace WebAssembly { new(module: Module, importObject?: Imports): Instance; }; + /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */ interface LinkError extends Error { } @@ -12882,6 +12904,7 @@ declare namespace WebAssembly { imports(moduleObject: Module): ModuleImportDescriptor[]; }; + /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */ interface RuntimeError extends Error { } @@ -13132,6 +13155,7 @@ interface Console { * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */ timeLog(label?: string, ...data: any[]): void; + /** The **`console.timeStamp()`** static method adds a single marker to the browser's Performance tool (Firefox bug 1387528, Chrome). This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events. */ timeStamp(label?: string): void; /** * The **`console.trace()`** static method outputs a stack trace to the console. diff --git a/src/build.ts b/src/build.ts index f6b417ee9..489fcbc85 100644 --- a/src/build.ts +++ b/src/build.ts @@ -204,11 +204,11 @@ async function emitDom() { webidl = merge(webidl, getRemovalData(webidl)); webidl = merge(webidl, getDocsData(webidl)); webidl = prune(webidl, removedItems); - webidl = mergeApiDescriptions(webidl, documentationFromMDN); webidl = merge(webidl, addedItems); webidl = merge(webidl, overriddenItems); webidl = merge(webidl, patches); webidl = merge(webidl, comments); + webidl = mergeApiDescriptions(webidl, documentationFromMDN); for (const name in webidl.interfaces!.interface) { const i = webidl.interfaces!.interface[name]; if (i.overrideExposed) {