@types/web 0.0.291 → 0.0.293

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.291 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.291.
50
+ You can read what changed in version 0.0.293 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.293.
package/index.d.ts CHANGED
@@ -6920,7 +6920,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6920
6920
  /**
6921
6921
  * The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
6922
6922
  *
6923
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
6923
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties/cssFloat)
6924
6924
  */
6925
6925
  cssFloat: string;
6926
6926
  /**
@@ -7342,7 +7342,6 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7342
7342
  hyphens: string;
7343
7343
  /**
7344
7344
  * The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.
7345
- * @deprecated
7346
7345
  *
7347
7346
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/image-orientation)
7348
7347
  */
@@ -10301,7 +10300,9 @@ declare var CompositionEvent: {
10301
10300
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
10302
10301
  */
10303
10302
  interface CompressionStream extends GenericTransformStream {
10303
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
10304
10304
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
10305
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
10305
10306
  readonly writable: WritableStream<BufferSource>;
10306
10307
  }
10307
10308
 
@@ -11782,7 +11783,9 @@ declare var DataTransferItemList: {
11782
11783
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
11783
11784
  */
11784
11785
  interface DecompressionStream extends GenericTransformStream {
11786
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
11785
11787
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
11788
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
11786
11789
  readonly writable: WritableStream<BufferSource>;
11787
11790
  }
11788
11791
 
@@ -12284,7 +12287,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12284
12287
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
12285
12288
  */
12286
12289
  caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
12287
- /** @deprecated */
12290
+ /**
12291
+ * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
12292
+ * @deprecated
12293
+ */
12288
12294
  caretRangeFromPoint(x: number, y: number): Range | null;
12289
12295
  /**
12290
12296
  * The **`Document.clear()`** method does nothing, but doesn't raise any error.
@@ -12481,6 +12487,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12481
12487
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
12482
12488
  */
12483
12489
  exitPointerLock(): void;
12490
+ /** 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. */
12484
12491
  getElementById(elementId: string): HTMLElement | null;
12485
12492
  /**
12486
12493
  * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
@@ -12624,6 +12631,7 @@ declare var Document: {
12624
12631
  */
12625
12632
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
12626
12633
  readonly ownerDocument: Document;
12634
+ /** 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. */
12627
12635
  getElementById(elementId: string): HTMLElement | null;
12628
12636
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
12629
12637
  get textContent(): string;
@@ -13240,28 +13248,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13240
13248
  *
13241
13249
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13242
13250
  */
13243
- scroll(options?: ScrollToOptions): Promise<void>;
13244
- scroll(x: number, y: number): Promise<void>;
13251
+ scroll(options?: ScrollToOptions): void;
13252
+ scroll(x: number, y: number): void;
13245
13253
  /**
13246
13254
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13247
13255
  *
13248
13256
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13249
13257
  */
13250
- scrollBy(options?: ScrollToOptions): Promise<void>;
13251
- scrollBy(x: number, y: number): Promise<void>;
13258
+ scrollBy(options?: ScrollToOptions): void;
13259
+ scrollBy(x: number, y: number): void;
13252
13260
  /**
13253
13261
  * The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
13254
13262
  *
13255
13263
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13256
13264
  */
13257
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13265
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13258
13266
  /**
13259
13267
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13260
13268
  *
13261
13269
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13262
13270
  */
13263
- scrollTo(options?: ScrollToOptions): Promise<void>;
13264
- scrollTo(x: number, y: number): Promise<void>;
13271
+ scrollTo(options?: ScrollToOptions): void;
13272
+ scrollTo(x: number, y: number): void;
13265
13273
  /**
13266
13274
  * The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
13267
13275
  *
@@ -15928,6 +15936,7 @@ declare var HTMLDivElement: {
15928
15936
  new(): HTMLDivElement;
15929
15937
  };
15930
15938
 
15939
+ /** 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. */
15931
15940
  interface HTMLDocument extends Document {
15932
15941
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15933
15942
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -17158,7 +17167,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
17158
17167
  */
17159
17168
  selectionDirection: "forward" | "backward" | "none" | null;
17160
17169
  /**
17161
- * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17170
+ * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17162
17171
  *
17163
17172
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
17164
17173
  */
@@ -23687,6 +23696,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
23687
23696
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
23688
23697
  */
23689
23698
  readonly credentials: CredentialsContainer;
23699
+ /** 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. */
23690
23700
  readonly doNotTrack: string | null;
23691
23701
  /**
23692
23702
  * 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.
@@ -26976,7 +26986,11 @@ interface RTCEncodedAudioFrame {
26976
26986
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
26977
26987
  */
26978
26988
  data: ArrayBuffer;
26979
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */
26989
+ /**
26990
+ * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
26991
+ *
26992
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
26993
+ */
26980
26994
  readonly timestamp: number;
26981
26995
  /**
26982
26996
  * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
@@ -27003,7 +27017,11 @@ interface RTCEncodedVideoFrame {
27003
27017
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
27004
27018
  */
27005
27019
  data: ArrayBuffer;
27006
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */
27020
+ /**
27021
+ * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
27022
+ *
27023
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
27024
+ */
27007
27025
  readonly timestamp: number;
27008
27026
  /**
27009
27027
  * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
@@ -28612,7 +28630,7 @@ declare var Response: {
28612
28630
  */
28613
28631
  error(): Response;
28614
28632
  /**
28615
- * The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28633
+ * The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
28616
28634
  *
28617
28635
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
28618
28636
  */
@@ -34242,7 +34260,9 @@ interface TextDecoderCommon {
34242
34260
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
34243
34261
  */
34244
34262
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
34263
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
34245
34264
  readonly readable: ReadableStream<string>;
34265
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
34246
34266
  readonly writable: WritableStream<BufferSource>;
34247
34267
  }
34248
34268
 
@@ -34291,7 +34311,9 @@ interface TextEncoderCommon {
34291
34311
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
34292
34312
  */
34293
34313
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
34314
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
34294
34315
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
34316
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
34295
34317
  readonly writable: WritableStream<string>;
34296
34318
  }
34297
34319
 
@@ -38820,7 +38842,11 @@ interface WebTransportDatagramDuplexStream {
38820
38842
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
38821
38843
  */
38822
38844
  readonly readable: ReadableStream;
38823
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
38845
+ /**
38846
+ * 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.
38847
+ *
38848
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
38849
+ */
38824
38850
  readonly writable: WritableStream;
38825
38851
  }
38826
38852
 
@@ -39328,22 +39354,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39328
39354
  *
39329
39355
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39330
39356
  */
39331
- scroll(options?: ScrollToOptions): Promise<void>;
39332
- scroll(x: number, y: number): Promise<void>;
39357
+ scroll(options?: ScrollToOptions): void;
39358
+ scroll(x: number, y: number): void;
39333
39359
  /**
39334
39360
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39335
39361
  *
39336
39362
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39337
39363
  */
39338
- scrollBy(options?: ScrollToOptions): Promise<void>;
39339
- scrollBy(x: number, y: number): Promise<void>;
39364
+ scrollBy(options?: ScrollToOptions): void;
39365
+ scrollBy(x: number, y: number): void;
39340
39366
  /**
39341
39367
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39342
39368
  *
39343
39369
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39344
39370
  */
39345
- scrollTo(options?: ScrollToOptions): Promise<void>;
39346
- scrollTo(x: number, y: number): Promise<void>;
39371
+ scrollTo(options?: ScrollToOptions): void;
39372
+ scrollTo(x: number, y: number): void;
39347
39373
  /**
39348
39374
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39349
39375
  *
@@ -40230,6 +40256,7 @@ declare namespace CSS {
40230
40256
  }
40231
40257
 
40232
40258
  declare namespace WebAssembly {
40259
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
40233
40260
  interface CompileError extends Error {
40234
40261
  }
40235
40262
 
@@ -40304,6 +40331,7 @@ declare namespace WebAssembly {
40304
40331
  new(module: Module, importObject?: Imports): Instance;
40305
40332
  };
40306
40333
 
40334
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
40307
40335
  interface LinkError extends Error {
40308
40336
  }
40309
40337
 
@@ -40369,6 +40397,7 @@ declare namespace WebAssembly {
40369
40397
  imports(moduleObject: Module): ModuleImportDescriptor[];
40370
40398
  };
40371
40399
 
40400
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
40372
40401
  interface RuntimeError extends Error {
40373
40402
  }
40374
40403
 
@@ -40619,6 +40648,7 @@ interface Console {
40619
40648
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
40620
40649
  */
40621
40650
  timeLog(label?: string, ...data: any[]): void;
40651
+ /** 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. */
40622
40652
  timeStamp(label?: string): void;
40623
40653
  /**
40624
40654
  * The **`console.trace()`** static method outputs a stack trace to the console.
@@ -41492,22 +41522,22 @@ declare function resizeTo(width: number, height: number): void;
41492
41522
  *
41493
41523
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41494
41524
  */
41495
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41496
- declare function scroll(x: number, y: number): Promise<void>;
41525
+ declare function scroll(options?: ScrollToOptions): void;
41526
+ declare function scroll(x: number, y: number): void;
41497
41527
  /**
41498
41528
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41499
41529
  *
41500
41530
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41501
41531
  */
41502
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41503
- declare function scrollBy(x: number, y: number): Promise<void>;
41532
+ declare function scrollBy(options?: ScrollToOptions): void;
41533
+ declare function scrollBy(x: number, y: number): void;
41504
41534
  /**
41505
41535
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41506
41536
  *
41507
41537
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41508
41538
  */
41509
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41510
- declare function scrollTo(x: number, y: number): Promise<void>;
41539
+ declare function scrollTo(options?: ScrollToOptions): void;
41540
+ declare function scrollTo(x: number, y: number): void;
41511
41541
  /**
41512
41542
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41513
41543
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.291",
3
+ "version": "0.0.293",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -6910,7 +6910,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6910
6910
  /**
6911
6911
  * The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
6912
6912
  *
6913
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
6913
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties/cssFloat)
6914
6914
  */
6915
6915
  cssFloat: string;
6916
6916
  /**
@@ -7332,7 +7332,6 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7332
7332
  hyphens: string;
7333
7333
  /**
7334
7334
  * The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.
7335
- * @deprecated
7336
7335
  *
7337
7336
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/image-orientation)
7338
7337
  */
@@ -10290,7 +10289,9 @@ declare var CompositionEvent: {
10290
10289
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
10291
10290
  */
10292
10291
  interface CompressionStream extends GenericTransformStream {
10292
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
10293
10293
  readonly readable: ReadableStream<Uint8Array>;
10294
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
10294
10295
  readonly writable: WritableStream<BufferSource>;
10295
10296
  }
10296
10297
 
@@ -11771,7 +11772,9 @@ declare var DataTransferItemList: {
11771
11772
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
11772
11773
  */
11773
11774
  interface DecompressionStream extends GenericTransformStream {
11775
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
11774
11776
  readonly readable: ReadableStream<Uint8Array>;
11777
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
11775
11778
  readonly writable: WritableStream<BufferSource>;
11776
11779
  }
11777
11780
 
@@ -12273,7 +12276,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12273
12276
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
12274
12277
  */
12275
12278
  caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
12276
- /** @deprecated */
12279
+ /**
12280
+ * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
12281
+ * @deprecated
12282
+ */
12277
12283
  caretRangeFromPoint(x: number, y: number): Range | null;
12278
12284
  /**
12279
12285
  * The **`Document.clear()`** method does nothing, but doesn't raise any error.
@@ -12470,6 +12476,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12470
12476
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
12471
12477
  */
12472
12478
  exitPointerLock(): void;
12479
+ /** 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. */
12473
12480
  getElementById(elementId: string): HTMLElement | null;
12474
12481
  /**
12475
12482
  * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
@@ -12613,6 +12620,7 @@ declare var Document: {
12613
12620
  */
12614
12621
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
12615
12622
  readonly ownerDocument: Document;
12623
+ /** 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. */
12616
12624
  getElementById(elementId: string): HTMLElement | null;
12617
12625
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
12618
12626
  get textContent(): string;
@@ -13227,28 +13235,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13227
13235
  *
13228
13236
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13229
13237
  */
13230
- scroll(options?: ScrollToOptions): Promise<void>;
13231
- scroll(x: number, y: number): Promise<void>;
13238
+ scroll(options?: ScrollToOptions): void;
13239
+ scroll(x: number, y: number): void;
13232
13240
  /**
13233
13241
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13234
13242
  *
13235
13243
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13236
13244
  */
13237
- scrollBy(options?: ScrollToOptions): Promise<void>;
13238
- scrollBy(x: number, y: number): Promise<void>;
13245
+ scrollBy(options?: ScrollToOptions): void;
13246
+ scrollBy(x: number, y: number): void;
13239
13247
  /**
13240
13248
  * The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
13241
13249
  *
13242
13250
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13243
13251
  */
13244
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13252
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13245
13253
  /**
13246
13254
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13247
13255
  *
13248
13256
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13249
13257
  */
13250
- scrollTo(options?: ScrollToOptions): Promise<void>;
13251
- scrollTo(x: number, y: number): Promise<void>;
13258
+ scrollTo(options?: ScrollToOptions): void;
13259
+ scrollTo(x: number, y: number): void;
13252
13260
  /**
13253
13261
  * The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
13254
13262
  *
@@ -15912,6 +15920,7 @@ declare var HTMLDivElement: {
15912
15920
  new(): HTMLDivElement;
15913
15921
  };
15914
15922
 
15923
+ /** 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. */
15915
15924
  interface HTMLDocument extends Document {
15916
15925
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15917
15926
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -17140,7 +17149,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
17140
17149
  */
17141
17150
  selectionDirection: "forward" | "backward" | "none" | null;
17142
17151
  /**
17143
- * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17152
+ * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17144
17153
  *
17145
17154
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
17146
17155
  */
@@ -23663,6 +23672,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
23663
23672
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
23664
23673
  */
23665
23674
  readonly credentials: CredentialsContainer;
23675
+ /** 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. */
23666
23676
  readonly doNotTrack: string | null;
23667
23677
  /**
23668
23678
  * 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.
@@ -26952,7 +26962,11 @@ interface RTCEncodedAudioFrame {
26952
26962
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
26953
26963
  */
26954
26964
  data: ArrayBuffer;
26955
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */
26965
+ /**
26966
+ * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
26967
+ *
26968
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
26969
+ */
26956
26970
  readonly timestamp: number;
26957
26971
  /**
26958
26972
  * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
@@ -26979,7 +26993,11 @@ interface RTCEncodedVideoFrame {
26979
26993
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
26980
26994
  */
26981
26995
  data: ArrayBuffer;
26982
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */
26996
+ /**
26997
+ * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
26998
+ *
26999
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
27000
+ */
26983
27001
  readonly timestamp: number;
26984
27002
  /**
26985
27003
  * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
@@ -28588,7 +28606,7 @@ declare var Response: {
28588
28606
  */
28589
28607
  error(): Response;
28590
28608
  /**
28591
- * The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28609
+ * The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
28592
28610
  *
28593
28611
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
28594
28612
  */
@@ -34216,7 +34234,9 @@ interface TextDecoderCommon {
34216
34234
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
34217
34235
  */
34218
34236
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
34237
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
34219
34238
  readonly readable: ReadableStream<string>;
34239
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
34220
34240
  readonly writable: WritableStream<BufferSource>;
34221
34241
  }
34222
34242
 
@@ -34265,7 +34285,9 @@ interface TextEncoderCommon {
34265
34285
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
34266
34286
  */
34267
34287
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
34288
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
34268
34289
  readonly readable: ReadableStream<Uint8Array>;
34290
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
34269
34291
  readonly writable: WritableStream<string>;
34270
34292
  }
34271
34293
 
@@ -38794,7 +38816,11 @@ interface WebTransportDatagramDuplexStream {
38794
38816
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
38795
38817
  */
38796
38818
  readonly readable: ReadableStream;
38797
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
38819
+ /**
38820
+ * 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.
38821
+ *
38822
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
38823
+ */
38798
38824
  readonly writable: WritableStream;
38799
38825
  }
38800
38826
 
@@ -39302,22 +39328,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39302
39328
  *
39303
39329
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39304
39330
  */
39305
- scroll(options?: ScrollToOptions): Promise<void>;
39306
- scroll(x: number, y: number): Promise<void>;
39331
+ scroll(options?: ScrollToOptions): void;
39332
+ scroll(x: number, y: number): void;
39307
39333
  /**
39308
39334
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39309
39335
  *
39310
39336
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39311
39337
  */
39312
- scrollBy(options?: ScrollToOptions): Promise<void>;
39313
- scrollBy(x: number, y: number): Promise<void>;
39338
+ scrollBy(options?: ScrollToOptions): void;
39339
+ scrollBy(x: number, y: number): void;
39314
39340
  /**
39315
39341
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39316
39342
  *
39317
39343
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39318
39344
  */
39319
- scrollTo(options?: ScrollToOptions): Promise<void>;
39320
- scrollTo(x: number, y: number): Promise<void>;
39345
+ scrollTo(options?: ScrollToOptions): void;
39346
+ scrollTo(x: number, y: number): void;
39321
39347
  /**
39322
39348
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39323
39349
  *
@@ -40204,6 +40230,7 @@ declare namespace CSS {
40204
40230
  }
40205
40231
 
40206
40232
  declare namespace WebAssembly {
40233
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
40207
40234
  interface CompileError extends Error {
40208
40235
  }
40209
40236
 
@@ -40278,6 +40305,7 @@ declare namespace WebAssembly {
40278
40305
  new(module: Module, importObject?: Imports): Instance;
40279
40306
  };
40280
40307
 
40308
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
40281
40309
  interface LinkError extends Error {
40282
40310
  }
40283
40311
 
@@ -40343,6 +40371,7 @@ declare namespace WebAssembly {
40343
40371
  imports(moduleObject: Module): ModuleImportDescriptor[];
40344
40372
  };
40345
40373
 
40374
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
40346
40375
  interface RuntimeError extends Error {
40347
40376
  }
40348
40377
 
@@ -40593,6 +40622,7 @@ interface Console {
40593
40622
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
40594
40623
  */
40595
40624
  timeLog(label?: string, ...data: any[]): void;
40625
+ /** 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. */
40596
40626
  timeStamp(label?: string): void;
40597
40627
  /**
40598
40628
  * The **`console.trace()`** static method outputs a stack trace to the console.
@@ -41466,22 +41496,22 @@ declare function resizeTo(width: number, height: number): void;
41466
41496
  *
41467
41497
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41468
41498
  */
41469
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41470
- declare function scroll(x: number, y: number): Promise<void>;
41499
+ declare function scroll(options?: ScrollToOptions): void;
41500
+ declare function scroll(x: number, y: number): void;
41471
41501
  /**
41472
41502
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41473
41503
  *
41474
41504
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41475
41505
  */
41476
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41477
- declare function scrollBy(x: number, y: number): Promise<void>;
41506
+ declare function scrollBy(options?: ScrollToOptions): void;
41507
+ declare function scrollBy(x: number, y: number): void;
41478
41508
  /**
41479
41509
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41480
41510
  *
41481
41511
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41482
41512
  */
41483
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41484
- declare function scrollTo(x: number, y: number): Promise<void>;
41513
+ declare function scrollTo(options?: ScrollToOptions): void;
41514
+ declare function scrollTo(x: number, y: number): void;
41485
41515
  /**
41486
41516
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41487
41517
  *
package/ts5.6/index.d.ts CHANGED
@@ -6917,7 +6917,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6917
6917
  /**
6918
6918
  * The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
6919
6919
  *
6920
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
6920
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties/cssFloat)
6921
6921
  */
6922
6922
  cssFloat: string;
6923
6923
  /**
@@ -7339,7 +7339,6 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7339
7339
  hyphens: string;
7340
7340
  /**
7341
7341
  * The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.
7342
- * @deprecated
7343
7342
  *
7344
7343
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/image-orientation)
7345
7344
  */
@@ -10298,7 +10297,9 @@ declare var CompositionEvent: {
10298
10297
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
10299
10298
  */
10300
10299
  interface CompressionStream extends GenericTransformStream {
10300
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
10301
10301
  readonly readable: ReadableStream<Uint8Array>;
10302
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
10302
10303
  readonly writable: WritableStream<BufferSource>;
10303
10304
  }
10304
10305
 
@@ -11779,7 +11780,9 @@ declare var DataTransferItemList: {
11779
11780
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
11780
11781
  */
11781
11782
  interface DecompressionStream extends GenericTransformStream {
11783
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
11782
11784
  readonly readable: ReadableStream<Uint8Array>;
11785
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
11783
11786
  readonly writable: WritableStream<BufferSource>;
11784
11787
  }
11785
11788
 
@@ -12281,7 +12284,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12281
12284
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
12282
12285
  */
12283
12286
  caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
12284
- /** @deprecated */
12287
+ /**
12288
+ * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
12289
+ * @deprecated
12290
+ */
12285
12291
  caretRangeFromPoint(x: number, y: number): Range | null;
12286
12292
  /**
12287
12293
  * The **`Document.clear()`** method does nothing, but doesn't raise any error.
@@ -12478,6 +12484,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12478
12484
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
12479
12485
  */
12480
12486
  exitPointerLock(): void;
12487
+ /** 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. */
12481
12488
  getElementById(elementId: string): HTMLElement | null;
12482
12489
  /**
12483
12490
  * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
@@ -12621,6 +12628,7 @@ declare var Document: {
12621
12628
  */
12622
12629
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
12623
12630
  readonly ownerDocument: Document;
12631
+ /** 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. */
12624
12632
  getElementById(elementId: string): HTMLElement | null;
12625
12633
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
12626
12634
  get textContent(): string;
@@ -13237,28 +13245,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13237
13245
  *
13238
13246
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13239
13247
  */
13240
- scroll(options?: ScrollToOptions): Promise<void>;
13241
- scroll(x: number, y: number): Promise<void>;
13248
+ scroll(options?: ScrollToOptions): void;
13249
+ scroll(x: number, y: number): void;
13242
13250
  /**
13243
13251
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13244
13252
  *
13245
13253
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13246
13254
  */
13247
- scrollBy(options?: ScrollToOptions): Promise<void>;
13248
- scrollBy(x: number, y: number): Promise<void>;
13255
+ scrollBy(options?: ScrollToOptions): void;
13256
+ scrollBy(x: number, y: number): void;
13249
13257
  /**
13250
13258
  * The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
13251
13259
  *
13252
13260
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13253
13261
  */
13254
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13262
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13255
13263
  /**
13256
13264
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13257
13265
  *
13258
13266
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13259
13267
  */
13260
- scrollTo(options?: ScrollToOptions): Promise<void>;
13261
- scrollTo(x: number, y: number): Promise<void>;
13268
+ scrollTo(options?: ScrollToOptions): void;
13269
+ scrollTo(x: number, y: number): void;
13262
13270
  /**
13263
13271
  * The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
13264
13272
  *
@@ -15925,6 +15933,7 @@ declare var HTMLDivElement: {
15925
15933
  new(): HTMLDivElement;
15926
15934
  };
15927
15935
 
15936
+ /** 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. */
15928
15937
  interface HTMLDocument extends Document {
15929
15938
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15930
15939
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -17155,7 +17164,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
17155
17164
  */
17156
17165
  selectionDirection: "forward" | "backward" | "none" | null;
17157
17166
  /**
17158
- * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17167
+ * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17159
17168
  *
17160
17169
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
17161
17170
  */
@@ -23684,6 +23693,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
23684
23693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
23685
23694
  */
23686
23695
  readonly credentials: CredentialsContainer;
23696
+ /** 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. */
23687
23697
  readonly doNotTrack: string | null;
23688
23698
  /**
23689
23699
  * 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.
@@ -26973,7 +26983,11 @@ interface RTCEncodedAudioFrame {
26973
26983
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
26974
26984
  */
26975
26985
  data: ArrayBuffer;
26976
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */
26986
+ /**
26987
+ * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
26988
+ *
26989
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
26990
+ */
26977
26991
  readonly timestamp: number;
26978
26992
  /**
26979
26993
  * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
@@ -27000,7 +27014,11 @@ interface RTCEncodedVideoFrame {
27000
27014
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
27001
27015
  */
27002
27016
  data: ArrayBuffer;
27003
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */
27017
+ /**
27018
+ * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
27019
+ *
27020
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
27021
+ */
27004
27022
  readonly timestamp: number;
27005
27023
  /**
27006
27024
  * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
@@ -28609,7 +28627,7 @@ declare var Response: {
28609
28627
  */
28610
28628
  error(): Response;
28611
28629
  /**
28612
- * The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28630
+ * The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
28613
28631
  *
28614
28632
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
28615
28633
  */
@@ -34239,7 +34257,9 @@ interface TextDecoderCommon {
34239
34257
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
34240
34258
  */
34241
34259
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
34260
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
34242
34261
  readonly readable: ReadableStream<string>;
34262
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
34243
34263
  readonly writable: WritableStream<BufferSource>;
34244
34264
  }
34245
34265
 
@@ -34288,7 +34308,9 @@ interface TextEncoderCommon {
34288
34308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
34289
34309
  */
34290
34310
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
34311
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
34291
34312
  readonly readable: ReadableStream<Uint8Array>;
34313
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
34292
34314
  readonly writable: WritableStream<string>;
34293
34315
  }
34294
34316
 
@@ -38817,7 +38839,11 @@ interface WebTransportDatagramDuplexStream {
38817
38839
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
38818
38840
  */
38819
38841
  readonly readable: ReadableStream;
38820
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
38842
+ /**
38843
+ * 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.
38844
+ *
38845
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
38846
+ */
38821
38847
  readonly writable: WritableStream;
38822
38848
  }
38823
38849
 
@@ -39325,22 +39351,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39325
39351
  *
39326
39352
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39327
39353
  */
39328
- scroll(options?: ScrollToOptions): Promise<void>;
39329
- scroll(x: number, y: number): Promise<void>;
39354
+ scroll(options?: ScrollToOptions): void;
39355
+ scroll(x: number, y: number): void;
39330
39356
  /**
39331
39357
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39332
39358
  *
39333
39359
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39334
39360
  */
39335
- scrollBy(options?: ScrollToOptions): Promise<void>;
39336
- scrollBy(x: number, y: number): Promise<void>;
39361
+ scrollBy(options?: ScrollToOptions): void;
39362
+ scrollBy(x: number, y: number): void;
39337
39363
  /**
39338
39364
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39339
39365
  *
39340
39366
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39341
39367
  */
39342
- scrollTo(options?: ScrollToOptions): Promise<void>;
39343
- scrollTo(x: number, y: number): Promise<void>;
39368
+ scrollTo(options?: ScrollToOptions): void;
39369
+ scrollTo(x: number, y: number): void;
39344
39370
  /**
39345
39371
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39346
39372
  *
@@ -40227,6 +40253,7 @@ declare namespace CSS {
40227
40253
  }
40228
40254
 
40229
40255
  declare namespace WebAssembly {
40256
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
40230
40257
  interface CompileError extends Error {
40231
40258
  }
40232
40259
 
@@ -40301,6 +40328,7 @@ declare namespace WebAssembly {
40301
40328
  new(module: Module, importObject?: Imports): Instance;
40302
40329
  };
40303
40330
 
40331
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
40304
40332
  interface LinkError extends Error {
40305
40333
  }
40306
40334
 
@@ -40366,6 +40394,7 @@ declare namespace WebAssembly {
40366
40394
  imports(moduleObject: Module): ModuleImportDescriptor[];
40367
40395
  };
40368
40396
 
40397
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
40369
40398
  interface RuntimeError extends Error {
40370
40399
  }
40371
40400
 
@@ -40616,6 +40645,7 @@ interface Console {
40616
40645
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
40617
40646
  */
40618
40647
  timeLog(label?: string, ...data: any[]): void;
40648
+ /** 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. */
40619
40649
  timeStamp(label?: string): void;
40620
40650
  /**
40621
40651
  * The **`console.trace()`** static method outputs a stack trace to the console.
@@ -41489,22 +41519,22 @@ declare function resizeTo(width: number, height: number): void;
41489
41519
  *
41490
41520
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41491
41521
  */
41492
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41493
- declare function scroll(x: number, y: number): Promise<void>;
41522
+ declare function scroll(options?: ScrollToOptions): void;
41523
+ declare function scroll(x: number, y: number): void;
41494
41524
  /**
41495
41525
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41496
41526
  *
41497
41527
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41498
41528
  */
41499
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41500
- declare function scrollBy(x: number, y: number): Promise<void>;
41529
+ declare function scrollBy(options?: ScrollToOptions): void;
41530
+ declare function scrollBy(x: number, y: number): void;
41501
41531
  /**
41502
41532
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41503
41533
  *
41504
41534
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41505
41535
  */
41506
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41507
- declare function scrollTo(x: number, y: number): Promise<void>;
41536
+ declare function scrollTo(options?: ScrollToOptions): void;
41537
+ declare function scrollTo(x: number, y: number): void;
41508
41538
  /**
41509
41539
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41510
41540
  *
package/ts5.9/index.d.ts CHANGED
@@ -6917,7 +6917,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6917
6917
  /**
6918
6918
  * The **`cssFloat`** property of the CSSStyleProperties interface returns the CSS float property.
6919
6919
  *
6920
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat)
6920
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleProperties/cssFloat)
6921
6921
  */
6922
6922
  cssFloat: string;
6923
6923
  /**
@@ -7339,7 +7339,6 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
7339
7339
  hyphens: string;
7340
7340
  /**
7341
7341
  * The image-orientation CSS property specifies a layout-independent correction to the orientation of an image.
7342
- * @deprecated
7343
7342
  *
7344
7343
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/image-orientation)
7345
7344
  */
@@ -10298,7 +10297,9 @@ declare var CompositionEvent: {
10298
10297
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)
10299
10298
  */
10300
10299
  interface CompressionStream extends GenericTransformStream {
10300
+ /** The **`readable`** read-only property of the CompressionStream interface returns a ReadableStream. */
10301
10301
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
10302
+ /** The **`writable`** read-only property of the CompressionStream interface returns a WritableStream. */
10302
10303
  readonly writable: WritableStream<BufferSource>;
10303
10304
  }
10304
10305
 
@@ -11779,7 +11780,9 @@ declare var DataTransferItemList: {
11779
11780
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)
11780
11781
  */
11781
11782
  interface DecompressionStream extends GenericTransformStream {
11783
+ /** The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream. */
11782
11784
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
11785
+ /** The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream. */
11783
11786
  readonly writable: WritableStream<BufferSource>;
11784
11787
  }
11785
11788
 
@@ -12281,7 +12284,10 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12281
12284
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)
12282
12285
  */
12283
12286
  caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
12284
- /** @deprecated */
12287
+ /**
12288
+ * The **`caretRangeFromPoint()`** method of the Document interface returns a Range object for the document fragment under the specified coordinates.
12289
+ * @deprecated
12290
+ */
12285
12291
  caretRangeFromPoint(x: number, y: number): Range | null;
12286
12292
  /**
12287
12293
  * The **`Document.clear()`** method does nothing, but doesn't raise any error.
@@ -12478,6 +12484,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
12478
12484
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)
12479
12485
  */
12480
12486
  exitPointerLock(): void;
12487
+ /** 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. */
12481
12488
  getElementById(elementId: string): HTMLElement | null;
12482
12489
  /**
12483
12490
  * The **`getElementsByClassName`** method of Document interface returns an array-like object of all child elements which have all of the given class name(s).
@@ -12621,6 +12628,7 @@ declare var Document: {
12621
12628
  */
12622
12629
  interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
12623
12630
  readonly ownerDocument: Document;
12631
+ /** 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. */
12624
12632
  getElementById(elementId: string): HTMLElement | null;
12625
12633
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
12626
12634
  get textContent(): string;
@@ -13237,28 +13245,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13237
13245
  *
13238
13246
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13239
13247
  */
13240
- scroll(options?: ScrollToOptions): Promise<void>;
13241
- scroll(x: number, y: number): Promise<void>;
13248
+ scroll(options?: ScrollToOptions): void;
13249
+ scroll(x: number, y: number): void;
13242
13250
  /**
13243
13251
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13244
13252
  *
13245
13253
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13246
13254
  */
13247
- scrollBy(options?: ScrollToOptions): Promise<void>;
13248
- scrollBy(x: number, y: number): Promise<void>;
13255
+ scrollBy(options?: ScrollToOptions): void;
13256
+ scrollBy(x: number, y: number): void;
13249
13257
  /**
13250
13258
  * The Element interface's **`scrollIntoView()`** method scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
13251
13259
  *
13252
13260
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13253
13261
  */
13254
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13262
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13255
13263
  /**
13256
13264
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13257
13265
  *
13258
13266
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13259
13267
  */
13260
- scrollTo(options?: ScrollToOptions): Promise<void>;
13261
- scrollTo(x: number, y: number): Promise<void>;
13268
+ scrollTo(options?: ScrollToOptions): void;
13269
+ scrollTo(x: number, y: number): void;
13262
13270
  /**
13263
13271
  * The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.
13264
13272
  *
@@ -15925,6 +15933,7 @@ declare var HTMLDivElement: {
15925
15933
  new(): HTMLDivElement;
15926
15934
  };
15927
15935
 
15936
+ /** 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. */
15928
15937
  interface HTMLDocument extends Document {
15929
15938
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: HTMLDocument, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15930
15939
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -17155,7 +17164,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
17155
17164
  */
17156
17165
  selectionDirection: "forward" | "backward" | "none" | null;
17157
17166
  /**
17158
- * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. When there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17167
+ * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
17159
17168
  *
17160
17169
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)
17161
17170
  */
@@ -23684,6 +23693,7 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, Navi
23684
23693
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)
23685
23694
  */
23686
23695
  readonly credentials: CredentialsContainer;
23696
+ /** 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. */
23687
23697
  readonly doNotTrack: string | null;
23688
23698
  /**
23689
23699
  * 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.
@@ -26973,7 +26983,11 @@ interface RTCEncodedAudioFrame {
26973
26983
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)
26974
26984
  */
26975
26985
  data: ArrayBuffer;
26976
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */
26986
+ /**
26987
+ * The **`timestamp`** read-only property of the RTCEncodedAudioFrame interface indicates the time at which frame sampling started.
26988
+ *
26989
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp)
26990
+ */
26977
26991
  readonly timestamp: number;
26978
26992
  /**
26979
26993
  * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.
@@ -27000,7 +27014,11 @@ interface RTCEncodedVideoFrame {
27000
27014
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)
27001
27015
  */
27002
27016
  data: ArrayBuffer;
27003
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */
27017
+ /**
27018
+ * The **`timestamp`** read-only property of the RTCEncodedVideoFrame interface indicates the time at which frame sampling started.
27019
+ *
27020
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp)
27021
+ */
27004
27022
  readonly timestamp: number;
27005
27023
  /**
27006
27024
  * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.
@@ -28609,7 +28627,7 @@ declare var Response: {
28609
28627
  */
28610
28628
  error(): Response;
28611
28629
  /**
28612
- * The **`json()`** method of the Response interface takes a Response stream and reads it to completion. It returns a promise which resolves with the result of parsing the body text as JSON.
28630
+ * The **`json()`** static method of the Response interface returns a Response that contains the provided JSON data as body, and a Content-Type header which is set to application/json. The response status, status message, and additional headers can also be set.
28613
28631
  *
28614
28632
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
28615
28633
  */
@@ -34239,7 +34257,9 @@ interface TextDecoderCommon {
34239
34257
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)
34240
34258
  */
34241
34259
  interface TextDecoderStream extends GenericTransformStream, TextDecoderCommon {
34260
+ /** The **`readable`** read-only property of the TextDecoderStream interface returns a ReadableStream. */
34242
34261
  readonly readable: ReadableStream<string>;
34262
+ /** The **`writable`** read-only property of the TextDecoderStream interface returns a WritableStream. */
34243
34263
  readonly writable: WritableStream<BufferSource>;
34244
34264
  }
34245
34265
 
@@ -34288,7 +34308,9 @@ interface TextEncoderCommon {
34288
34308
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)
34289
34309
  */
34290
34310
  interface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {
34311
+ /** The **`readable`** read-only property of the TextEncoderStream interface returns a ReadableStream. */
34291
34312
  readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;
34313
+ /** The **`writable`** read-only property of the TextEncoderStream interface returns a WritableStream. */
34292
34314
  readonly writable: WritableStream<string>;
34293
34315
  }
34294
34316
 
@@ -38817,7 +38839,11 @@ interface WebTransportDatagramDuplexStream {
38817
38839
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)
38818
38840
  */
38819
38841
  readonly readable: ReadableStream;
38820
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
38842
+ /**
38843
+ * 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.
38844
+ *
38845
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
38846
+ */
38821
38847
  readonly writable: WritableStream;
38822
38848
  }
38823
38849
 
@@ -39325,22 +39351,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39325
39351
  *
39326
39352
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39327
39353
  */
39328
- scroll(options?: ScrollToOptions): Promise<void>;
39329
- scroll(x: number, y: number): Promise<void>;
39354
+ scroll(options?: ScrollToOptions): void;
39355
+ scroll(x: number, y: number): void;
39330
39356
  /**
39331
39357
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39332
39358
  *
39333
39359
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39334
39360
  */
39335
- scrollBy(options?: ScrollToOptions): Promise<void>;
39336
- scrollBy(x: number, y: number): Promise<void>;
39361
+ scrollBy(options?: ScrollToOptions): void;
39362
+ scrollBy(x: number, y: number): void;
39337
39363
  /**
39338
39364
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39339
39365
  *
39340
39366
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39341
39367
  */
39342
- scrollTo(options?: ScrollToOptions): Promise<void>;
39343
- scrollTo(x: number, y: number): Promise<void>;
39368
+ scrollTo(options?: ScrollToOptions): void;
39369
+ scrollTo(x: number, y: number): void;
39344
39370
  /**
39345
39371
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39346
39372
  *
@@ -40227,6 +40253,7 @@ declare namespace CSS {
40227
40253
  }
40228
40254
 
40229
40255
  declare namespace WebAssembly {
40256
+ /** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
40230
40257
  interface CompileError extends Error {
40231
40258
  }
40232
40259
 
@@ -40301,6 +40328,7 @@ declare namespace WebAssembly {
40301
40328
  new(module: Module, importObject?: Imports): Instance;
40302
40329
  };
40303
40330
 
40331
+ /** The **`WebAssembly.LinkError`** object indicates an error during module instantiation (besides traps from the start function). */
40304
40332
  interface LinkError extends Error {
40305
40333
  }
40306
40334
 
@@ -40366,6 +40394,7 @@ declare namespace WebAssembly {
40366
40394
  imports(moduleObject: Module): ModuleImportDescriptor[];
40367
40395
  };
40368
40396
 
40397
+ /** The **`WebAssembly.RuntimeError`** object is the error type that is thrown whenever WebAssembly specifies a trap. */
40369
40398
  interface RuntimeError extends Error {
40370
40399
  }
40371
40400
 
@@ -40616,6 +40645,7 @@ interface Console {
40616
40645
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)
40617
40646
  */
40618
40647
  timeLog(label?: string, ...data: any[]): void;
40648
+ /** 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. */
40619
40649
  timeStamp(label?: string): void;
40620
40650
  /**
40621
40651
  * The **`console.trace()`** static method outputs a stack trace to the console.
@@ -41489,22 +41519,22 @@ declare function resizeTo(width: number, height: number): void;
41489
41519
  *
41490
41520
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41491
41521
  */
41492
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41493
- declare function scroll(x: number, y: number): Promise<void>;
41522
+ declare function scroll(options?: ScrollToOptions): void;
41523
+ declare function scroll(x: number, y: number): void;
41494
41524
  /**
41495
41525
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41496
41526
  *
41497
41527
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41498
41528
  */
41499
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41500
- declare function scrollBy(x: number, y: number): Promise<void>;
41529
+ declare function scrollBy(options?: ScrollToOptions): void;
41530
+ declare function scrollBy(x: number, y: number): void;
41501
41531
  /**
41502
41532
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41503
41533
  *
41504
41534
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41505
41535
  */
41506
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41507
- declare function scrollTo(x: number, y: number): Promise<void>;
41536
+ declare function scrollTo(options?: ScrollToOptions): void;
41537
+ declare function scrollTo(x: number, y: number): void;
41508
41538
  /**
41509
41539
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41510
41540
  *