@types/web 0.0.290 → 0.0.291

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.291 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.291.
package/index.d.ts CHANGED
@@ -13907,7 +13907,7 @@ interface FileReader extends EventTarget {
13907
13907
  *
13908
13908
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13909
13909
  */
13910
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13910
+ readonly readyState: 0 | 1 | 2;
13911
13911
  /**
13912
13912
  * 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
13913
  *
@@ -21099,6 +21099,7 @@ declare var ImageDecoder: {
21099
21099
 
21100
21100
  /**
21101
21101
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21102
+ * Available only in secure contexts.
21102
21103
  *
21103
21104
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21104
21105
  */
@@ -21136,6 +21137,7 @@ declare var ImageTrack: {
21136
21137
 
21137
21138
  /**
21138
21139
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21140
+ * Available only in secure contexts.
21139
21141
  *
21140
21142
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21141
21143
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.290",
3
+ "version": "0.0.291",
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
@@ -13893,7 +13893,7 @@ interface FileReader extends EventTarget {
13893
13893
  *
13894
13894
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13895
13895
  */
13896
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13896
+ readonly readyState: 0 | 1 | 2;
13897
13897
  /**
13898
13898
  * 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
13899
  *
@@ -21075,6 +21075,7 @@ declare var ImageDecoder: {
21075
21075
 
21076
21076
  /**
21077
21077
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21078
+ * Available only in secure contexts.
21078
21079
  *
21079
21080
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21080
21081
  */
@@ -21112,6 +21113,7 @@ declare var ImageTrack: {
21112
21113
 
21113
21114
  /**
21114
21115
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21116
+ * Available only in secure contexts.
21115
21117
  *
21116
21118
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21117
21119
  */
package/ts5.6/index.d.ts CHANGED
@@ -13904,7 +13904,7 @@ interface FileReader extends EventTarget {
13904
13904
  *
13905
13905
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13906
13906
  */
13907
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13907
+ readonly readyState: 0 | 1 | 2;
13908
13908
  /**
13909
13909
  * 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
13910
  *
@@ -21096,6 +21096,7 @@ declare var ImageDecoder: {
21096
21096
 
21097
21097
  /**
21098
21098
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21099
+ * Available only in secure contexts.
21099
21100
  *
21100
21101
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21101
21102
  */
@@ -21133,6 +21134,7 @@ declare var ImageTrack: {
21133
21134
 
21134
21135
  /**
21135
21136
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21137
+ * Available only in secure contexts.
21136
21138
  *
21137
21139
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21138
21140
  */
package/ts5.9/index.d.ts CHANGED
@@ -13904,7 +13904,7 @@ interface FileReader extends EventTarget {
13904
13904
  *
13905
13905
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)
13906
13906
  */
13907
- readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;
13907
+ readonly readyState: 0 | 1 | 2;
13908
13908
  /**
13909
13909
  * 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
13910
  *
@@ -21096,6 +21096,7 @@ declare var ImageDecoder: {
21096
21096
 
21097
21097
  /**
21098
21098
  * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.
21099
+ * Available only in secure contexts.
21099
21100
  *
21100
21101
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)
21101
21102
  */
@@ -21133,6 +21134,7 @@ declare var ImageTrack: {
21133
21134
 
21134
21135
  /**
21135
21136
  * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.
21137
+ * Available only in secure contexts.
21136
21138
  *
21137
21139
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)
21138
21140
  */