@types/web 0.0.290 → 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.290 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.290.
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
  *
@@ -13907,7 +13906,7 @@ interface FileReader extends EventTarget {
13907
13906
  *
13908
13907
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13909
13908
  */
13910
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13909
+ readonly readyState: 0 | 1 | 2;
13911
13910
  /**
13912
13911
  * The **`result`** read-only property of the FileReader interface returns the file's contents. This property is only valid after the read operation is complete, and the format of the data depends on which of the methods was used to initiate the read operation.
13913
13912
  *
@@ -21099,6 +21098,7 @@ declare var ImageDecoder: {
21099
21098
 
21100
21099
  /**
21101
21100
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21101
+ * Available only in secure contexts.
21102
21102
  *
21103
21103
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21104
21104
  */
@@ -21136,6 +21136,7 @@ declare var ImageTrack: {
21136
21136
 
21137
21137
  /**
21138
21138
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21139
+ * Available only in secure contexts.
21139
21140
  *
21140
21141
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21141
21142
  */
@@ -39326,22 +39327,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39326
39327
  *
39327
39328
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39328
39329
  */
39329
- scroll(options?: ScrollToOptions): Promise<void>;
39330
- scroll(x: number, y: number): Promise<void>;
39330
+ scroll(options?: ScrollToOptions): void;
39331
+ scroll(x: number, y: number): void;
39331
39332
  /**
39332
39333
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39333
39334
  *
39334
39335
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39335
39336
  */
39336
- scrollBy(options?: ScrollToOptions): Promise<void>;
39337
- scrollBy(x: number, y: number): Promise<void>;
39337
+ scrollBy(options?: ScrollToOptions): void;
39338
+ scrollBy(x: number, y: number): void;
39338
39339
  /**
39339
39340
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39340
39341
  *
39341
39342
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39342
39343
  */
39343
- scrollTo(options?: ScrollToOptions): Promise<void>;
39344
- scrollTo(x: number, y: number): Promise<void>;
39344
+ scrollTo(options?: ScrollToOptions): void;
39345
+ scrollTo(x: number, y: number): void;
39345
39346
  /**
39346
39347
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39347
39348
  *
@@ -41490,22 +41491,22 @@ declare function resizeTo(width: number, height: number): void;
41490
41491
  *
41491
41492
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41492
41493
  */
41493
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41494
- 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;
41495
41496
  /**
41496
41497
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41497
41498
  *
41498
41499
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41499
41500
  */
41500
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41501
- 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;
41502
41503
  /**
41503
41504
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41504
41505
  *
41505
41506
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41506
41507
  */
41507
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41508
- 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;
41509
41510
  /**
41510
41511
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41511
41512
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.290",
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
  *
@@ -13893,7 +13892,7 @@ interface FileReader extends EventTarget {
13893
13892
  *
13894
13893
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13895
13894
  */
13896
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13895
+ readonly readyState: 0 | 1 | 2;
13897
13896
  /**
13898
13897
  * The **`result`** read-only property of the FileReader interface returns the file's contents. This property is only valid after the read operation is complete, and the format of the data depends on which of the methods was used to initiate the read operation.
13899
13898
  *
@@ -21075,6 +21074,7 @@ declare var ImageDecoder: {
21075
21074
 
21076
21075
  /**
21077
21076
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21077
+ * Available only in secure contexts.
21078
21078
  *
21079
21079
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21080
21080
  */
@@ -21112,6 +21112,7 @@ declare var ImageTrack: {
21112
21112
 
21113
21113
  /**
21114
21114
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21115
+ * Available only in secure contexts.
21115
21116
  *
21116
21117
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21117
21118
  */
@@ -39300,22 +39301,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39300
39301
  *
39301
39302
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39302
39303
  */
39303
- scroll(options?: ScrollToOptions): Promise<void>;
39304
- scroll(x: number, y: number): Promise<void>;
39304
+ scroll(options?: ScrollToOptions): void;
39305
+ scroll(x: number, y: number): void;
39305
39306
  /**
39306
39307
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39307
39308
  *
39308
39309
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39309
39310
  */
39310
- scrollBy(options?: ScrollToOptions): Promise<void>;
39311
- scrollBy(x: number, y: number): Promise<void>;
39311
+ scrollBy(options?: ScrollToOptions): void;
39312
+ scrollBy(x: number, y: number): void;
39312
39313
  /**
39313
39314
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39314
39315
  *
39315
39316
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39316
39317
  */
39317
- scrollTo(options?: ScrollToOptions): Promise<void>;
39318
- scrollTo(x: number, y: number): Promise<void>;
39318
+ scrollTo(options?: ScrollToOptions): void;
39319
+ scrollTo(x: number, y: number): void;
39319
39320
  /**
39320
39321
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39321
39322
  *
@@ -41464,22 +41465,22 @@ declare function resizeTo(width: number, height: number): void;
41464
41465
  *
41465
41466
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41466
41467
  */
41467
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41468
- 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;
41469
41470
  /**
41470
41471
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41471
41472
  *
41472
41473
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41473
41474
  */
41474
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41475
- 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;
41476
41477
  /**
41477
41478
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41478
41479
  *
41479
41480
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41480
41481
  */
41481
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41482
- 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;
41483
41484
  /**
41484
41485
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41485
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
  *
@@ -13904,7 +13903,7 @@ interface FileReader extends EventTarget {
13904
13903
  *
13905
13904
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13906
13905
  */
13907
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13906
+ readonly readyState: 0 | 1 | 2;
13908
13907
  /**
13909
13908
  * The **`result`** read-only property of the FileReader interface returns the file's contents. This property is only valid after the read operation is complete, and the format of the data depends on which of the methods was used to initiate the read operation.
13910
13909
  *
@@ -21096,6 +21095,7 @@ declare var ImageDecoder: {
21096
21095
 
21097
21096
  /**
21098
21097
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21098
+ * Available only in secure contexts.
21099
21099
  *
21100
21100
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21101
21101
  */
@@ -21133,6 +21133,7 @@ declare var ImageTrack: {
21133
21133
 
21134
21134
  /**
21135
21135
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21136
+ * Available only in secure contexts.
21136
21137
  *
21137
21138
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21138
21139
  */
@@ -39323,22 +39324,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39323
39324
  *
39324
39325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39325
39326
  */
39326
- scroll(options?: ScrollToOptions): Promise<void>;
39327
- scroll(x: number, y: number): Promise<void>;
39327
+ scroll(options?: ScrollToOptions): void;
39328
+ scroll(x: number, y: number): void;
39328
39329
  /**
39329
39330
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39330
39331
  *
39331
39332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39332
39333
  */
39333
- scrollBy(options?: ScrollToOptions): Promise<void>;
39334
- scrollBy(x: number, y: number): Promise<void>;
39334
+ scrollBy(options?: ScrollToOptions): void;
39335
+ scrollBy(x: number, y: number): void;
39335
39336
  /**
39336
39337
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39337
39338
  *
39338
39339
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39339
39340
  */
39340
- scrollTo(options?: ScrollToOptions): Promise<void>;
39341
- scrollTo(x: number, y: number): Promise<void>;
39341
+ scrollTo(options?: ScrollToOptions): void;
39342
+ scrollTo(x: number, y: number): void;
39342
39343
  /**
39343
39344
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39344
39345
  *
@@ -41487,22 +41488,22 @@ declare function resizeTo(width: number, height: number): void;
41487
41488
  *
41488
41489
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41489
41490
  */
41490
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41491
- 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;
41492
41493
  /**
41493
41494
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41494
41495
  *
41495
41496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41496
41497
  */
41497
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41498
- 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;
41499
41500
  /**
41500
41501
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41501
41502
  *
41502
41503
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41503
41504
  */
41504
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41505
- 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;
41506
41507
  /**
41507
41508
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41508
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
  *
@@ -13904,7 +13903,7 @@ interface FileReader extends EventTarget {
13904
13903
  *
13905
13904
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13906
13905
  */
13907
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13906
+ readonly readyState: 0 | 1 | 2;
13908
13907
  /**
13909
13908
  * The **`result`** read-only property of the FileReader interface returns the file's contents. This property is only valid after the read operation is complete, and the format of the data depends on which of the methods was used to initiate the read operation.
13910
13909
  *
@@ -21096,6 +21095,7 @@ declare var ImageDecoder: {
21096
21095
 
21097
21096
  /**
21098
21097
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21098
+ * Available only in secure contexts.
21099
21099
  *
21100
21100
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21101
21101
  */
@@ -21133,6 +21133,7 @@ declare var ImageTrack: {
21133
21133
 
21134
21134
  /**
21135
21135
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21136
+ * Available only in secure contexts.
21136
21137
  *
21137
21138
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21138
21139
  */
@@ -39323,22 +39324,22 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
39323
39324
  *
39324
39325
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
39325
39326
  */
39326
- scroll(options?: ScrollToOptions): Promise<void>;
39327
- scroll(x: number, y: number): Promise<void>;
39327
+ scroll(options?: ScrollToOptions): void;
39328
+ scroll(x: number, y: number): void;
39328
39329
  /**
39329
39330
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
39330
39331
  *
39331
39332
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
39332
39333
  */
39333
- scrollBy(options?: ScrollToOptions): Promise<void>;
39334
- scrollBy(x: number, y: number): Promise<void>;
39334
+ scrollBy(options?: ScrollToOptions): void;
39335
+ scrollBy(x: number, y: number): void;
39335
39336
  /**
39336
39337
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
39337
39338
  *
39338
39339
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
39339
39340
  */
39340
- scrollTo(options?: ScrollToOptions): Promise<void>;
39341
- scrollTo(x: number, y: number): Promise<void>;
39341
+ scrollTo(options?: ScrollToOptions): void;
39342
+ scrollTo(x: number, y: number): void;
39342
39343
  /**
39343
39344
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
39344
39345
  *
@@ -41487,22 +41488,22 @@ declare function resizeTo(width: number, height: number): void;
41487
41488
  *
41488
41489
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)
41489
41490
  */
41490
- declare function scroll(options?: ScrollToOptions): Promise<void>;
41491
- 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;
41492
41493
  /**
41493
41494
  * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.
41494
41495
  *
41495
41496
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)
41496
41497
  */
41497
- declare function scrollBy(options?: ScrollToOptions): Promise<void>;
41498
- 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;
41499
41500
  /**
41500
41501
  * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.
41501
41502
  *
41502
41503
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)
41503
41504
  */
41504
- declare function scrollTo(options?: ScrollToOptions): Promise<void>;
41505
- 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;
41506
41507
  /**
41507
41508
  * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.
41508
41509
  *