@types/web 0.0.291 → 0.0.292

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.292 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.292.
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
  */
@@ -13240,28 +13239,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13240
13239
  *
13241
13240
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13242
13241
  */
13243
- scroll(options?: ScrollToOptions): Promise<void>;
13244
- scroll(x: number, y: number): Promise<void>;
13242
+ scroll(options?: ScrollToOptions): void;
13243
+ scroll(x: number, y: number): void;
13245
13244
  /**
13246
13245
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13247
13246
  *
13248
13247
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13249
13248
  */
13250
- scrollBy(options?: ScrollToOptions): Promise<void>;
13251
- scrollBy(x: number, y: number): Promise<void>;
13249
+ scrollBy(options?: ScrollToOptions): void;
13250
+ scrollBy(x: number, y: number): void;
13252
13251
  /**
13253
13252
  * 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
13253
  *
13255
13254
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13256
13255
  */
13257
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13256
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13258
13257
  /**
13259
13258
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13260
13259
  *
13261
13260
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13262
13261
  */
13263
- scrollTo(options?: ScrollToOptions): Promise<void>;
13264
- scrollTo(x: number, y: number): Promise<void>;
13262
+ scrollTo(options?: ScrollToOptions): void;
13263
+ scrollTo(x: number, y: number): void;
13265
13264
  /**
13266
13265
  * 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
13266
  *
@@ -39328,22 +39327,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39328
39327
  *
39329
39328
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39330
39329
  */
39331
- scroll(options?: ScrollToOptions): Promise<void>;
39332
- scroll(x: number, y: number): Promise<void>;
39330
+ scroll(options?: ScrollToOptions): void;
39331
+ scroll(x: number, y: number): void;
39333
39332
  /**
39334
39333
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39335
39334
  *
39336
39335
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39337
39336
  */
39338
- scrollBy(options?: ScrollToOptions): Promise<void>;
39339
- scrollBy(x: number, y: number): Promise<void>;
39337
+ scrollBy(options?: ScrollToOptions): void;
39338
+ scrollBy(x: number, y: number): void;
39340
39339
  /**
39341
39340
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39342
39341
  *
39343
39342
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39344
39343
  */
39345
- scrollTo(options?: ScrollToOptions): Promise<void>;
39346
- scrollTo(x: number, y: number): Promise<void>;
39344
+ scrollTo(options?: ScrollToOptions): void;
39345
+ scrollTo(x: number, y: number): void;
39347
39346
  /**
39348
39347
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39349
39348
  *
@@ -41492,22 +41491,22 @@ declare function resizeTo(width: number, height: number): void;
41492
41491
  *
41493
41492
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41494
41493
  */
41495
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41496
- declare function scroll(x: number, y: number): Promise<void>;
41494
+ declare function scroll(options?: ScrollToOptions): void;
41495
+ declare function scroll(x: number, y: number): void;
41497
41496
  /**
41498
41497
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41499
41498
  *
41500
41499
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41501
41500
  */
41502
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41503
- declare function scrollBy(x: number, y: number): Promise<void>;
41501
+ declare function scrollBy(options?: ScrollToOptions): void;
41502
+ declare function scrollBy(x: number, y: number): void;
41504
41503
  /**
41505
41504
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41506
41505
  *
41507
41506
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41508
41507
  */
41509
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41510
- declare function scrollTo(x: number, y: number): Promise<void>;
41508
+ declare function scrollTo(options?: ScrollToOptions): void;
41509
+ declare function scrollTo(x: number, y: number): void;
41511
41510
  /**
41512
41511
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41513
41512
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.291",
3
+ "version": "0.0.292",
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
  */
@@ -13227,28 +13226,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13227
13226
  *
13228
13227
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13229
13228
  */
13230
- scroll(options?: ScrollToOptions): Promise<void>;
13231
- scroll(x: number, y: number): Promise<void>;
13229
+ scroll(options?: ScrollToOptions): void;
13230
+ scroll(x: number, y: number): void;
13232
13231
  /**
13233
13232
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13234
13233
  *
13235
13234
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13236
13235
  */
13237
- scrollBy(options?: ScrollToOptions): Promise<void>;
13238
- scrollBy(x: number, y: number): Promise<void>;
13236
+ scrollBy(options?: ScrollToOptions): void;
13237
+ scrollBy(x: number, y: number): void;
13239
13238
  /**
13240
13239
  * 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
13240
  *
13242
13241
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13243
13242
  */
13244
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13243
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13245
13244
  /**
13246
13245
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13247
13246
  *
13248
13247
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13249
13248
  */
13250
- scrollTo(options?: ScrollToOptions): Promise<void>;
13251
- scrollTo(x: number, y: number): Promise<void>;
13249
+ scrollTo(options?: ScrollToOptions): void;
13250
+ scrollTo(x: number, y: number): void;
13252
13251
  /**
13253
13252
  * 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
13253
  *
@@ -39302,22 +39301,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39302
39301
  *
39303
39302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39304
39303
  */
39305
- scroll(options?: ScrollToOptions): Promise<void>;
39306
- scroll(x: number, y: number): Promise<void>;
39304
+ scroll(options?: ScrollToOptions): void;
39305
+ scroll(x: number, y: number): void;
39307
39306
  /**
39308
39307
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39309
39308
  *
39310
39309
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39311
39310
  */
39312
- scrollBy(options?: ScrollToOptions): Promise<void>;
39313
- scrollBy(x: number, y: number): Promise<void>;
39311
+ scrollBy(options?: ScrollToOptions): void;
39312
+ scrollBy(x: number, y: number): void;
39314
39313
  /**
39315
39314
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39316
39315
  *
39317
39316
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39318
39317
  */
39319
- scrollTo(options?: ScrollToOptions): Promise<void>;
39320
- scrollTo(x: number, y: number): Promise<void>;
39318
+ scrollTo(options?: ScrollToOptions): void;
39319
+ scrollTo(x: number, y: number): void;
39321
39320
  /**
39322
39321
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39323
39322
  *
@@ -41466,22 +41465,22 @@ declare function resizeTo(width: number, height: number): void;
41466
41465
  *
41467
41466
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41468
41467
  */
41469
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41470
- declare function scroll(x: number, y: number): Promise<void>;
41468
+ declare function scroll(options?: ScrollToOptions): void;
41469
+ declare function scroll(x: number, y: number): void;
41471
41470
  /**
41472
41471
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41473
41472
  *
41474
41473
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41475
41474
  */
41476
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41477
- declare function scrollBy(x: number, y: number): Promise<void>;
41475
+ declare function scrollBy(options?: ScrollToOptions): void;
41476
+ declare function scrollBy(x: number, y: number): void;
41478
41477
  /**
41479
41478
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41480
41479
  *
41481
41480
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41482
41481
  */
41483
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41484
- declare function scrollTo(x: number, y: number): Promise<void>;
41482
+ declare function scrollTo(options?: ScrollToOptions): void;
41483
+ declare function scrollTo(x: number, y: number): void;
41485
41484
  /**
41486
41485
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41487
41486
  *
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
  */
@@ -13237,28 +13236,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13237
13236
  *
13238
13237
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13239
13238
  */
13240
- scroll(options?: ScrollToOptions): Promise<void>;
13241
- scroll(x: number, y: number): Promise<void>;
13239
+ scroll(options?: ScrollToOptions): void;
13240
+ scroll(x: number, y: number): void;
13242
13241
  /**
13243
13242
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13244
13243
  *
13245
13244
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13246
13245
  */
13247
- scrollBy(options?: ScrollToOptions): Promise<void>;
13248
- scrollBy(x: number, y: number): Promise<void>;
13246
+ scrollBy(options?: ScrollToOptions): void;
13247
+ scrollBy(x: number, y: number): void;
13249
13248
  /**
13250
13249
  * 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
13250
  *
13252
13251
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13253
13252
  */
13254
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13253
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13255
13254
  /**
13256
13255
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13257
13256
  *
13258
13257
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13259
13258
  */
13260
- scrollTo(options?: ScrollToOptions): Promise<void>;
13261
- scrollTo(x: number, y: number): Promise<void>;
13259
+ scrollTo(options?: ScrollToOptions): void;
13260
+ scrollTo(x: number, y: number): void;
13262
13261
  /**
13263
13262
  * 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
13263
  *
@@ -39325,22 +39324,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39325
39324
  *
39326
39325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39327
39326
  */
39328
- scroll(options?: ScrollToOptions): Promise<void>;
39329
- scroll(x: number, y: number): Promise<void>;
39327
+ scroll(options?: ScrollToOptions): void;
39328
+ scroll(x: number, y: number): void;
39330
39329
  /**
39331
39330
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39332
39331
  *
39333
39332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39334
39333
  */
39335
- scrollBy(options?: ScrollToOptions): Promise<void>;
39336
- scrollBy(x: number, y: number): Promise<void>;
39334
+ scrollBy(options?: ScrollToOptions): void;
39335
+ scrollBy(x: number, y: number): void;
39337
39336
  /**
39338
39337
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39339
39338
  *
39340
39339
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39341
39340
  */
39342
- scrollTo(options?: ScrollToOptions): Promise<void>;
39343
- scrollTo(x: number, y: number): Promise<void>;
39341
+ scrollTo(options?: ScrollToOptions): void;
39342
+ scrollTo(x: number, y: number): void;
39344
39343
  /**
39345
39344
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39346
39345
  *
@@ -41489,22 +41488,22 @@ declare function resizeTo(width: number, height: number): void;
41489
41488
  *
41490
41489
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41491
41490
  */
41492
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41493
- declare function scroll(x: number, y: number): Promise<void>;
41491
+ declare function scroll(options?: ScrollToOptions): void;
41492
+ declare function scroll(x: number, y: number): void;
41494
41493
  /**
41495
41494
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41496
41495
  *
41497
41496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41498
41497
  */
41499
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41500
- declare function scrollBy(x: number, y: number): Promise<void>;
41498
+ declare function scrollBy(options?: ScrollToOptions): void;
41499
+ declare function scrollBy(x: number, y: number): void;
41501
41500
  /**
41502
41501
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41503
41502
  *
41504
41503
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41505
41504
  */
41506
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41507
- declare function scrollTo(x: number, y: number): Promise<void>;
41505
+ declare function scrollTo(options?: ScrollToOptions): void;
41506
+ declare function scrollTo(x: number, y: number): void;
41508
41507
  /**
41509
41508
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41510
41509
  *
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
  */
@@ -13237,28 +13236,28 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13237
13236
  *
13238
13237
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)
13239
13238
  */
13240
- scroll(options?: ScrollToOptions): Promise<void>;
13241
- scroll(x: number, y: number): Promise<void>;
13239
+ scroll(options?: ScrollToOptions): void;
13240
+ scroll(x: number, y: number): void;
13242
13241
  /**
13243
13242
  * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.
13244
13243
  *
13245
13244
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)
13246
13245
  */
13247
- scrollBy(options?: ScrollToOptions): Promise<void>;
13248
- scrollBy(x: number, y: number): Promise<void>;
13246
+ scrollBy(options?: ScrollToOptions): void;
13247
+ scrollBy(x: number, y: number): void;
13249
13248
  /**
13250
13249
  * 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
13250
  *
13252
13251
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)
13253
13252
  */
13254
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions): Promise<void>;
13253
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
13255
13254
  /**
13256
13255
  * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.
13257
13256
  *
13258
13257
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)
13259
13258
  */
13260
- scrollTo(options?: ScrollToOptions): Promise<void>;
13261
- scrollTo(x: number, y: number): Promise<void>;
13259
+ scrollTo(options?: ScrollToOptions): void;
13260
+ scrollTo(x: number, y: number): void;
13262
13261
  /**
13263
13262
  * 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
13263
  *
@@ -39325,22 +39324,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39325
39324
  *
39326
39325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39327
39326
  */
39328
- scroll(options?: ScrollToOptions): Promise<void>;
39329
- scroll(x: number, y: number): Promise<void>;
39327
+ scroll(options?: ScrollToOptions): void;
39328
+ scroll(x: number, y: number): void;
39330
39329
  /**
39331
39330
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39332
39331
  *
39333
39332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39334
39333
  */
39335
- scrollBy(options?: ScrollToOptions): Promise<void>;
39336
- scrollBy(x: number, y: number): Promise<void>;
39334
+ scrollBy(options?: ScrollToOptions): void;
39335
+ scrollBy(x: number, y: number): void;
39337
39336
  /**
39338
39337
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39339
39338
  *
39340
39339
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39341
39340
  */
39342
- scrollTo(options?: ScrollToOptions): Promise<void>;
39343
- scrollTo(x: number, y: number): Promise<void>;
39341
+ scrollTo(options?: ScrollToOptions): void;
39342
+ scrollTo(x: number, y: number): void;
39344
39343
  /**
39345
39344
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39346
39345
  *
@@ -41489,22 +41488,22 @@ declare function resizeTo(width: number, height: number): void;
41489
41488
  *
41490
41489
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41491
41490
  */
41492
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41493
- declare function scroll(x: number, y: number): Promise<void>;
41491
+ declare function scroll(options?: ScrollToOptions): void;
41492
+ declare function scroll(x: number, y: number): void;
41494
41493
  /**
41495
41494
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41496
41495
  *
41497
41496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41498
41497
  */
41499
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41500
- declare function scrollBy(x: number, y: number): Promise<void>;
41498
+ declare function scrollBy(options?: ScrollToOptions): void;
41499
+ declare function scrollBy(x: number, y: number): void;
41501
41500
  /**
41502
41501
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41503
41502
  *
41504
41503
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41505
41504
  */
41506
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41507
- declare function scrollTo(x: number, y: number): Promise<void>;
41505
+ declare function scrollTo(options?: ScrollToOptions): void;
41506
+ declare function scrollTo(x: number, y: number): void;
41508
41507
  /**
41509
41508
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41510
41509
  *