@types/web 0.0.172 → 0.0.174
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 +1 -1
- package/index.d.ts +31 -5
- package/package.json +1 -1
- package/ts5.5/index.d.ts +31 -5
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.
|
|
50
|
+
You can read what changed in version 0.0.174 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.174.
|
package/index.d.ts
CHANGED
|
@@ -8468,10 +8468,15 @@ declare var EncodedVideoChunk: {
|
|
|
8468
8468
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
8469
8469
|
*/
|
|
8470
8470
|
interface ErrorEvent extends Event {
|
|
8471
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
8471
8472
|
readonly colno: number;
|
|
8473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
8472
8474
|
readonly error: any;
|
|
8475
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
8473
8476
|
readonly filename: string;
|
|
8477
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
8474
8478
|
readonly lineno: number;
|
|
8479
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
8475
8480
|
readonly message: string;
|
|
8476
8481
|
}
|
|
8477
8482
|
|
|
@@ -10155,9 +10160,17 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10155
10160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
|
|
10156
10161
|
*/
|
|
10157
10162
|
formAction: string;
|
|
10158
|
-
/**
|
|
10163
|
+
/**
|
|
10164
|
+
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
10165
|
+
*
|
|
10166
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype)
|
|
10167
|
+
*/
|
|
10159
10168
|
formEnctype: string;
|
|
10160
|
-
/**
|
|
10169
|
+
/**
|
|
10170
|
+
* Overrides the submit method attribute previously specified on a form element.
|
|
10171
|
+
*
|
|
10172
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
|
|
10173
|
+
*/
|
|
10161
10174
|
formMethod: string;
|
|
10162
10175
|
/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
|
|
10163
10176
|
formNoValidate: boolean;
|
|
@@ -10746,7 +10759,11 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10746
10759
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
|
|
10747
10760
|
*/
|
|
10748
10761
|
action: string;
|
|
10749
|
-
/**
|
|
10762
|
+
/**
|
|
10763
|
+
* Specifies whether autocomplete is applied to an editable text field.
|
|
10764
|
+
*
|
|
10765
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
|
|
10766
|
+
*/
|
|
10750
10767
|
autocomplete: AutoFillBase;
|
|
10751
10768
|
/**
|
|
10752
10769
|
* Retrieves a collection, in source order, of all controls in a given form.
|
|
@@ -11425,9 +11442,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11425
11442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
|
|
11426
11443
|
*/
|
|
11427
11444
|
formAction: string;
|
|
11428
|
-
/**
|
|
11445
|
+
/**
|
|
11446
|
+
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
11447
|
+
*
|
|
11448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype)
|
|
11449
|
+
*/
|
|
11429
11450
|
formEnctype: string;
|
|
11430
|
-
/**
|
|
11451
|
+
/**
|
|
11452
|
+
* Overrides the submit method attribute previously specified on a form element.
|
|
11453
|
+
*
|
|
11454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
|
|
11455
|
+
*/
|
|
11431
11456
|
formMethod: string;
|
|
11432
11457
|
/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
|
|
11433
11458
|
formNoValidate: boolean;
|
|
@@ -25367,6 +25392,7 @@ interface WebGLRenderingContextBase {
|
|
|
25367
25392
|
readonly drawingBufferHeight: GLsizei;
|
|
25368
25393
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */
|
|
25369
25394
|
readonly drawingBufferWidth: GLsizei;
|
|
25395
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) */
|
|
25370
25396
|
unpackColorSpace: PredefinedColorSpace;
|
|
25371
25397
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */
|
|
25372
25398
|
activeTexture(texture: GLenum): void;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -8468,10 +8468,15 @@ declare var EncodedVideoChunk: {
|
|
|
8468
8468
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)
|
|
8469
8469
|
*/
|
|
8470
8470
|
interface ErrorEvent extends Event {
|
|
8471
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno) */
|
|
8471
8472
|
readonly colno: number;
|
|
8473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error) */
|
|
8472
8474
|
readonly error: any;
|
|
8475
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename) */
|
|
8473
8476
|
readonly filename: string;
|
|
8477
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno) */
|
|
8474
8478
|
readonly lineno: number;
|
|
8479
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message) */
|
|
8475
8480
|
readonly message: string;
|
|
8476
8481
|
}
|
|
8477
8482
|
|
|
@@ -10155,9 +10160,17 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10155
10160
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
|
|
10156
10161
|
*/
|
|
10157
10162
|
formAction: string;
|
|
10158
|
-
/**
|
|
10163
|
+
/**
|
|
10164
|
+
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
10165
|
+
*
|
|
10166
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype)
|
|
10167
|
+
*/
|
|
10159
10168
|
formEnctype: string;
|
|
10160
|
-
/**
|
|
10169
|
+
/**
|
|
10170
|
+
* Overrides the submit method attribute previously specified on a form element.
|
|
10171
|
+
*
|
|
10172
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
|
|
10173
|
+
*/
|
|
10161
10174
|
formMethod: string;
|
|
10162
10175
|
/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
|
|
10163
10176
|
formNoValidate: boolean;
|
|
@@ -10746,7 +10759,11 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10746
10759
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)
|
|
10747
10760
|
*/
|
|
10748
10761
|
action: string;
|
|
10749
|
-
/**
|
|
10762
|
+
/**
|
|
10763
|
+
* Specifies whether autocomplete is applied to an editable text field.
|
|
10764
|
+
*
|
|
10765
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)
|
|
10766
|
+
*/
|
|
10750
10767
|
autocomplete: AutoFillBase;
|
|
10751
10768
|
/**
|
|
10752
10769
|
* Retrieves a collection, in source order, of all controls in a given form.
|
|
@@ -11425,9 +11442,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11425
11442
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
|
|
11426
11443
|
*/
|
|
11427
11444
|
formAction: string;
|
|
11428
|
-
/**
|
|
11445
|
+
/**
|
|
11446
|
+
* Used to override the encoding (formEnctype attribute) specified on the form element.
|
|
11447
|
+
*
|
|
11448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype)
|
|
11449
|
+
*/
|
|
11429
11450
|
formEnctype: string;
|
|
11430
|
-
/**
|
|
11451
|
+
/**
|
|
11452
|
+
* Overrides the submit method attribute previously specified on a form element.
|
|
11453
|
+
*
|
|
11454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
|
|
11455
|
+
*/
|
|
11431
11456
|
formMethod: string;
|
|
11432
11457
|
/** Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option. */
|
|
11433
11458
|
formNoValidate: boolean;
|
|
@@ -25367,6 +25392,7 @@ interface WebGLRenderingContextBase {
|
|
|
25367
25392
|
readonly drawingBufferHeight: GLsizei;
|
|
25368
25393
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */
|
|
25369
25394
|
readonly drawingBufferWidth: GLsizei;
|
|
25395
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) */
|
|
25370
25396
|
unpackColorSpace: PredefinedColorSpace;
|
|
25371
25397
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */
|
|
25372
25398
|
activeTexture(texture: GLenum): void;
|