@types/web 0.0.284 → 0.0.286

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.284 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.284.
50
+ You can read what changed in version 0.0.286 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.286.
package/index.d.ts CHANGED
@@ -9171,8 +9171,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
9171
9171
  declare var DOMMatrix: {
9172
9172
  prototype: DOMMatrix;
9173
9173
  new(init?: string | number[]): DOMMatrix;
9174
+ /**
9175
+ * The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
9176
+ *
9177
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
9178
+ */
9174
9179
  fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
9180
+ /**
9181
+ * The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
9182
+ *
9183
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
9184
+ */
9175
9185
  fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
9186
+ /**
9187
+ * The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
9188
+ *
9189
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
9190
+ */
9176
9191
  fromMatrix(other?: DOMMatrixInit): DOMMatrix;
9177
9192
  };
9178
9193
 
@@ -9348,8 +9363,23 @@ interface DOMMatrixReadOnly {
9348
9363
  declare var DOMMatrixReadOnly: {
9349
9364
  prototype: DOMMatrixReadOnly;
9350
9365
  new(init?: string | number[]): DOMMatrixReadOnly;
9366
+ /**
9367
+ * The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
9368
+ *
9369
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
9370
+ */
9351
9371
  fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrixReadOnly;
9372
+ /**
9373
+ * The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
9374
+ *
9375
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
9376
+ */
9352
9377
  fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;
9378
+ /**
9379
+ * The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
9380
+ *
9381
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
9382
+ */
9353
9383
  fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
9354
9384
  };
9355
9385
 
@@ -9520,7 +9550,17 @@ interface DOMQuad {
9520
9550
  declare var DOMQuad: {
9521
9551
  prototype: DOMQuad;
9522
9552
  new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
9553
+ /**
9554
+ * The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
9555
+ *
9556
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
9557
+ */
9523
9558
  fromQuad(other?: DOMQuadInit): DOMQuad;
9559
+ /**
9560
+ * The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
9561
+ *
9562
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
9563
+ */
9524
9564
  fromRect(other?: DOMRectInit): DOMQuad;
9525
9565
  };
9526
9566
 
@@ -32809,7 +32849,7 @@ declare var TimeRanges: {
32809
32849
  };
32810
32850
 
32811
32851
  /**
32812
- * The **`ToggleEvent`** interface represents an event notifying the user an Element's state has changed.
32852
+ * The **`ToggleEvent`** interface represents an event that fires when a popover element is toggled between being shown and hidden.
32813
32853
  *
32814
32854
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent)
32815
32855
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.284",
3
+ "version": "0.0.286",
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
@@ -9160,8 +9160,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
9160
9160
  declare var DOMMatrix: {
9161
9161
  prototype: DOMMatrix;
9162
9162
  new(init?: string | number[]): DOMMatrix;
9163
+ /**
9164
+ * The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
9165
+ *
9166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
9167
+ */
9163
9168
  fromFloat32Array(array32: Float32Array): DOMMatrix;
9169
+ /**
9170
+ * The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
9171
+ *
9172
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
9173
+ */
9164
9174
  fromFloat64Array(array64: Float64Array): DOMMatrix;
9175
+ /**
9176
+ * The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
9177
+ *
9178
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
9179
+ */
9165
9180
  fromMatrix(other?: DOMMatrixInit): DOMMatrix;
9166
9181
  };
9167
9182
 
@@ -9337,8 +9352,23 @@ interface DOMMatrixReadOnly {
9337
9352
  declare var DOMMatrixReadOnly: {
9338
9353
  prototype: DOMMatrixReadOnly;
9339
9354
  new(init?: string | number[]): DOMMatrixReadOnly;
9355
+ /**
9356
+ * The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
9357
+ *
9358
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
9359
+ */
9340
9360
  fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
9361
+ /**
9362
+ * The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
9363
+ *
9364
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
9365
+ */
9341
9366
  fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
9367
+ /**
9368
+ * The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
9369
+ *
9370
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
9371
+ */
9342
9372
  fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
9343
9373
  };
9344
9374
 
@@ -9509,7 +9539,17 @@ interface DOMQuad {
9509
9539
  declare var DOMQuad: {
9510
9540
  prototype: DOMQuad;
9511
9541
  new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
9542
+ /**
9543
+ * The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
9544
+ *
9545
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
9546
+ */
9512
9547
  fromQuad(other?: DOMQuadInit): DOMQuad;
9548
+ /**
9549
+ * The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
9550
+ *
9551
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
9552
+ */
9513
9553
  fromRect(other?: DOMRectInit): DOMQuad;
9514
9554
  };
9515
9555
 
@@ -32783,7 +32823,7 @@ declare var TimeRanges: {
32783
32823
  };
32784
32824
 
32785
32825
  /**
32786
- * The **`ToggleEvent`** interface represents an event notifying the user an Element's state has changed.
32826
+ * The **`ToggleEvent`** interface represents an event that fires when a popover element is toggled between being shown and hidden.
32787
32827
  *
32788
32828
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent)
32789
32829
  */
package/ts5.6/index.d.ts CHANGED
@@ -9168,8 +9168,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
9168
9168
  declare var DOMMatrix: {
9169
9169
  prototype: DOMMatrix;
9170
9170
  new(init?: string | number[]): DOMMatrix;
9171
+ /**
9172
+ * The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
9173
+ *
9174
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
9175
+ */
9171
9176
  fromFloat32Array(array32: Float32Array): DOMMatrix;
9177
+ /**
9178
+ * The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
9179
+ *
9180
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
9181
+ */
9172
9182
  fromFloat64Array(array64: Float64Array): DOMMatrix;
9183
+ /**
9184
+ * The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
9185
+ *
9186
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
9187
+ */
9173
9188
  fromMatrix(other?: DOMMatrixInit): DOMMatrix;
9174
9189
  };
9175
9190
 
@@ -9345,8 +9360,23 @@ interface DOMMatrixReadOnly {
9345
9360
  declare var DOMMatrixReadOnly: {
9346
9361
  prototype: DOMMatrixReadOnly;
9347
9362
  new(init?: string | number[]): DOMMatrixReadOnly;
9363
+ /**
9364
+ * The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
9365
+ *
9366
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
9367
+ */
9348
9368
  fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
9369
+ /**
9370
+ * The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
9371
+ *
9372
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
9373
+ */
9349
9374
  fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
9375
+ /**
9376
+ * The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
9377
+ *
9378
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
9379
+ */
9350
9380
  fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
9351
9381
  };
9352
9382
 
@@ -9517,7 +9547,17 @@ interface DOMQuad {
9517
9547
  declare var DOMQuad: {
9518
9548
  prototype: DOMQuad;
9519
9549
  new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
9550
+ /**
9551
+ * The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
9552
+ *
9553
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
9554
+ */
9520
9555
  fromQuad(other?: DOMQuadInit): DOMQuad;
9556
+ /**
9557
+ * The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
9558
+ *
9559
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
9560
+ */
9521
9561
  fromRect(other?: DOMRectInit): DOMQuad;
9522
9562
  };
9523
9563
 
@@ -32806,7 +32846,7 @@ declare var TimeRanges: {
32806
32846
  };
32807
32847
 
32808
32848
  /**
32809
- * The **`ToggleEvent`** interface represents an event notifying the user an Element's state has changed.
32849
+ * The **`ToggleEvent`** interface represents an event that fires when a popover element is toggled between being shown and hidden.
32810
32850
  *
32811
32851
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent)
32812
32852
  */
package/ts5.9/index.d.ts CHANGED
@@ -9168,8 +9168,23 @@ interface DOMMatrix extends DOMMatrixReadOnly {
9168
9168
  declare var DOMMatrix: {
9169
9169
  prototype: DOMMatrix;
9170
9170
  new(init?: string | number[]): DOMMatrix;
9171
+ /**
9172
+ * The **`fromFloat32Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of single-precision (32-bit) floating-point values.
9173
+ *
9174
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat32Array_static)
9175
+ */
9171
9176
  fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrix;
9177
+ /**
9178
+ * The **`fromFloat64Array()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an array of double-precision (64-bit) floating-point values.
9179
+ *
9180
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromFloat64Array_static)
9181
+ */
9172
9182
  fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;
9183
+ /**
9184
+ * The **`fromMatrix()`** static method of the DOMMatrix interface creates a new DOMMatrix object given an existing matrix or an object which provides the values for its properties.
9185
+ *
9186
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/fromMatrix_static)
9187
+ */
9173
9188
  fromMatrix(other?: DOMMatrixInit): DOMMatrix;
9174
9189
  };
9175
9190
 
@@ -9345,8 +9360,23 @@ interface DOMMatrixReadOnly {
9345
9360
  declare var DOMMatrixReadOnly: {
9346
9361
  prototype: DOMMatrixReadOnly;
9347
9362
  new(init?: string | number[]): DOMMatrixReadOnly;
9363
+ /**
9364
+ * The **`fromFloat32Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of single-precision (32-bit) floating-point values.
9365
+ *
9366
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat32Array_static)
9367
+ */
9348
9368
  fromFloat32Array(array32: Float32Array<ArrayBuffer>): DOMMatrixReadOnly;
9369
+ /**
9370
+ * The **`fromFloat64Array()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an array of double-precision (64-bit) floating-point values.
9371
+ *
9372
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromFloat64Array_static)
9373
+ */
9349
9374
  fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;
9375
+ /**
9376
+ * The **`fromMatrix()`** static method of the DOMMatrixReadOnly interface creates a new DOMMatrixReadOnly object given an existing matrix or an object which provides the values for its properties.
9377
+ *
9378
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/fromMatrix_static)
9379
+ */
9350
9380
  fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
9351
9381
  };
9352
9382
 
@@ -9517,7 +9547,17 @@ interface DOMQuad {
9517
9547
  declare var DOMQuad: {
9518
9548
  prototype: DOMQuad;
9519
9549
  new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad;
9550
+ /**
9551
+ * The **`fromQuad()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of another `DOMQuad` object.
9552
+ *
9553
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromQuad_static)
9554
+ */
9520
9555
  fromQuad(other?: DOMQuadInit): DOMQuad;
9556
+ /**
9557
+ * The **`fromRect()`** static method of the DOMQuad interface returns a new `DOMQuad` object based on the provided set of coordinates in the shape of a DOMRect object.
9558
+ *
9559
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/fromRect_static)
9560
+ */
9521
9561
  fromRect(other?: DOMRectInit): DOMQuad;
9522
9562
  };
9523
9563
 
@@ -32806,7 +32846,7 @@ declare var TimeRanges: {
32806
32846
  };
32807
32847
 
32808
32848
  /**
32809
- * The **`ToggleEvent`** interface represents an event notifying the user an Element's state has changed.
32849
+ * The **`ToggleEvent`** interface represents an event that fires when a popover element is toggled between being shown and hidden.
32810
32850
  *
32811
32851
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent)
32812
32852
  */