@types/web 0.0.169 → 0.0.171
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 +53 -14
- package/package.json +1 -1
- package/ts5.5/index.d.ts +53 -14
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.171 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.171.
|
package/index.d.ts
CHANGED
|
@@ -3906,6 +3906,15 @@ declare var CSSNamespaceRule: {
|
|
|
3906
3906
|
new(): CSSNamespaceRule;
|
|
3907
3907
|
};
|
|
3908
3908
|
|
|
3909
|
+
interface CSSNestedDeclarations extends CSSRule {
|
|
3910
|
+
readonly style: CSSStyleDeclaration;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
declare var CSSNestedDeclarations: {
|
|
3914
|
+
prototype: CSSNestedDeclarations;
|
|
3915
|
+
new(): CSSNestedDeclarations;
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3909
3918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray) */
|
|
3910
3919
|
interface CSSNumericArray {
|
|
3911
3920
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length) */
|
|
@@ -4349,6 +4358,8 @@ interface CSSStyleDeclaration {
|
|
|
4349
4358
|
borderWidth: string;
|
|
4350
4359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/bottom) */
|
|
4351
4360
|
bottom: string;
|
|
4361
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-decoration-break) */
|
|
4362
|
+
boxDecorationBreak: string;
|
|
4352
4363
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-shadow) */
|
|
4353
4364
|
boxShadow: string;
|
|
4354
4365
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-sizing) */
|
|
@@ -4794,6 +4805,8 @@ interface CSSStyleDeclaration {
|
|
|
4794
4805
|
pointerEvents: string;
|
|
4795
4806
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
4796
4807
|
position: string;
|
|
4808
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
4809
|
+
positionArea: string;
|
|
4797
4810
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
4798
4811
|
printColorAdjust: string;
|
|
4799
4812
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -10136,7 +10149,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10136
10149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)
|
|
10137
10150
|
*/
|
|
10138
10151
|
readonly form: HTMLFormElement | null;
|
|
10139
|
-
/**
|
|
10152
|
+
/**
|
|
10153
|
+
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
10154
|
+
*
|
|
10155
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
|
|
10156
|
+
*/
|
|
10140
10157
|
formAction: string;
|
|
10141
10158
|
/** Used to override the encoding (formEnctype attribute) specified on the form element. */
|
|
10142
10159
|
formEnctype: string;
|
|
@@ -11402,7 +11419,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11402
11419
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/form)
|
|
11403
11420
|
*/
|
|
11404
11421
|
readonly form: HTMLFormElement | null;
|
|
11405
|
-
/**
|
|
11422
|
+
/**
|
|
11423
|
+
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
11424
|
+
*
|
|
11425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
|
|
11426
|
+
*/
|
|
11406
11427
|
formAction: string;
|
|
11407
11428
|
/** Used to override the encoding (formEnctype attribute) specified on the form element. */
|
|
11408
11429
|
formEnctype: string;
|
|
@@ -12017,6 +12038,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12017
12038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
|
|
12018
12039
|
*/
|
|
12019
12040
|
volume: number;
|
|
12041
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */
|
|
12020
12042
|
addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;
|
|
12021
12043
|
/**
|
|
12022
12044
|
* Returns a string that specifies whether the client can play a given media resource type.
|
|
@@ -12460,12 +12482,16 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12460
12482
|
* When set to a smaller number, truncates the number of option elements in the corresponding container.
|
|
12461
12483
|
*
|
|
12462
12484
|
* When set to a greater number, adds new blank option elements to that container.
|
|
12485
|
+
*
|
|
12486
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length)
|
|
12463
12487
|
*/
|
|
12464
12488
|
length: number;
|
|
12465
12489
|
/**
|
|
12466
12490
|
* Returns the index of the first selected item, if any, or −1 if there is no selected item.
|
|
12467
12491
|
*
|
|
12468
12492
|
* Can be set, to change the selection.
|
|
12493
|
+
*
|
|
12494
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex)
|
|
12469
12495
|
*/
|
|
12470
12496
|
selectedIndex: number;
|
|
12471
12497
|
/**
|
|
@@ -12476,9 +12502,15 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12476
12502
|
* If before is omitted, null, or a number out of range, then element will be added at the end of the list.
|
|
12477
12503
|
*
|
|
12478
12504
|
* This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
|
|
12505
|
+
*
|
|
12506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add)
|
|
12479
12507
|
*/
|
|
12480
12508
|
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
|
|
12481
|
-
/**
|
|
12509
|
+
/**
|
|
12510
|
+
* Removes the item with index index from the collection.
|
|
12511
|
+
*
|
|
12512
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove)
|
|
12513
|
+
*/
|
|
12482
12514
|
remove(index: number): void;
|
|
12483
12515
|
}
|
|
12484
12516
|
|
|
@@ -12508,9 +12540,11 @@ interface HTMLOrSVGElement {
|
|
|
12508
12540
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)
|
|
12509
12541
|
*/
|
|
12510
12542
|
interface HTMLOutputElement extends HTMLElement {
|
|
12543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
12511
12544
|
defaultValue: string;
|
|
12512
12545
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
12513
12546
|
readonly form: HTMLFormElement | null;
|
|
12547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
12514
12548
|
readonly htmlFor: DOMTokenList;
|
|
12515
12549
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12516
12550
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
@@ -19285,7 +19319,11 @@ interface Request extends Body {
|
|
|
19285
19319
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
|
|
19286
19320
|
*/
|
|
19287
19321
|
readonly integrity: string;
|
|
19288
|
-
/**
|
|
19322
|
+
/**
|
|
19323
|
+
* Returns a boolean indicating whether or not request can outlive the global in which it was created.
|
|
19324
|
+
*
|
|
19325
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
|
|
19326
|
+
*/
|
|
19289
19327
|
readonly keepalive: boolean;
|
|
19290
19328
|
/**
|
|
19291
19329
|
* Returns request's HTTP method, which is "GET" by default.
|
|
@@ -25329,6 +25367,7 @@ interface WebGLRenderingContextBase {
|
|
|
25329
25367
|
readonly drawingBufferHeight: GLsizei;
|
|
25330
25368
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */
|
|
25331
25369
|
readonly drawingBufferWidth: GLsizei;
|
|
25370
|
+
unpackColorSpace: PredefinedColorSpace;
|
|
25332
25371
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */
|
|
25333
25372
|
activeTexture(texture: GLenum): void;
|
|
25334
25373
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */
|
|
@@ -26633,11 +26672,11 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26633
26672
|
atob(data: string): string;
|
|
26634
26673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
26635
26674
|
btoa(data: string): string;
|
|
26636
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
26675
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
26637
26676
|
clearInterval(id: number | undefined): void;
|
|
26638
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
26677
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
26639
26678
|
clearTimeout(id: number | undefined): void;
|
|
26640
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
26679
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
26641
26680
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26642
26681
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26643
26682
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -26646,9 +26685,9 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26646
26685
|
queueMicrotask(callback: VoidFunction): void;
|
|
26647
26686
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
26648
26687
|
reportError(e: any): void;
|
|
26649
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
26688
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
26650
26689
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26651
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
26690
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
26652
26691
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26653
26692
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
26654
26693
|
structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
@@ -28681,11 +28720,11 @@ declare var performance: Performance;
|
|
|
28681
28720
|
declare function atob(data: string): string;
|
|
28682
28721
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
28683
28722
|
declare function btoa(data: string): string;
|
|
28684
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
28723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
28685
28724
|
declare function clearInterval(id: number | undefined): void;
|
|
28686
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
28725
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
28687
28726
|
declare function clearTimeout(id: number | undefined): void;
|
|
28688
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
28727
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
28689
28728
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28690
28729
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28691
28730
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -28694,9 +28733,9 @@ declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Re
|
|
|
28694
28733
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
28695
28734
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
28696
28735
|
declare function reportError(e: any): void;
|
|
28697
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
28736
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
28698
28737
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28699
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
28738
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
28700
28739
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28701
28740
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
28702
28741
|
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -3906,6 +3906,15 @@ declare var CSSNamespaceRule: {
|
|
|
3906
3906
|
new(): CSSNamespaceRule;
|
|
3907
3907
|
};
|
|
3908
3908
|
|
|
3909
|
+
interface CSSNestedDeclarations extends CSSRule {
|
|
3910
|
+
readonly style: CSSStyleDeclaration;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
declare var CSSNestedDeclarations: {
|
|
3914
|
+
prototype: CSSNestedDeclarations;
|
|
3915
|
+
new(): CSSNestedDeclarations;
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3909
3918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray) */
|
|
3910
3919
|
interface CSSNumericArray {
|
|
3911
3920
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length) */
|
|
@@ -4349,6 +4358,8 @@ interface CSSStyleDeclaration {
|
|
|
4349
4358
|
borderWidth: string;
|
|
4350
4359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/bottom) */
|
|
4351
4360
|
bottom: string;
|
|
4361
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-decoration-break) */
|
|
4362
|
+
boxDecorationBreak: string;
|
|
4352
4363
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-shadow) */
|
|
4353
4364
|
boxShadow: string;
|
|
4354
4365
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-sizing) */
|
|
@@ -4794,6 +4805,8 @@ interface CSSStyleDeclaration {
|
|
|
4794
4805
|
pointerEvents: string;
|
|
4795
4806
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */
|
|
4796
4807
|
position: string;
|
|
4808
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position-area) */
|
|
4809
|
+
positionArea: string;
|
|
4797
4810
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */
|
|
4798
4811
|
printColorAdjust: string;
|
|
4799
4812
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
@@ -10136,7 +10149,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10136
10149
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)
|
|
10137
10150
|
*/
|
|
10138
10151
|
readonly form: HTMLFormElement | null;
|
|
10139
|
-
/**
|
|
10152
|
+
/**
|
|
10153
|
+
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
10154
|
+
*
|
|
10155
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)
|
|
10156
|
+
*/
|
|
10140
10157
|
formAction: string;
|
|
10141
10158
|
/** Used to override the encoding (formEnctype attribute) specified on the form element. */
|
|
10142
10159
|
formEnctype: string;
|
|
@@ -11402,7 +11419,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11402
11419
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/form)
|
|
11403
11420
|
*/
|
|
11404
11421
|
readonly form: HTMLFormElement | null;
|
|
11405
|
-
/**
|
|
11422
|
+
/**
|
|
11423
|
+
* Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
|
11424
|
+
*
|
|
11425
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)
|
|
11426
|
+
*/
|
|
11406
11427
|
formAction: string;
|
|
11407
11428
|
/** Used to override the encoding (formEnctype attribute) specified on the form element. */
|
|
11408
11429
|
formEnctype: string;
|
|
@@ -12017,6 +12038,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12017
12038
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
|
|
12018
12039
|
*/
|
|
12019
12040
|
volume: number;
|
|
12041
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */
|
|
12020
12042
|
addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;
|
|
12021
12043
|
/**
|
|
12022
12044
|
* Returns a string that specifies whether the client can play a given media resource type.
|
|
@@ -12460,12 +12482,16 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12460
12482
|
* When set to a smaller number, truncates the number of option elements in the corresponding container.
|
|
12461
12483
|
*
|
|
12462
12484
|
* When set to a greater number, adds new blank option elements to that container.
|
|
12485
|
+
*
|
|
12486
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length)
|
|
12463
12487
|
*/
|
|
12464
12488
|
length: number;
|
|
12465
12489
|
/**
|
|
12466
12490
|
* Returns the index of the first selected item, if any, or −1 if there is no selected item.
|
|
12467
12491
|
*
|
|
12468
12492
|
* Can be set, to change the selection.
|
|
12493
|
+
*
|
|
12494
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex)
|
|
12469
12495
|
*/
|
|
12470
12496
|
selectedIndex: number;
|
|
12471
12497
|
/**
|
|
@@ -12476,9 +12502,15 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12476
12502
|
* If before is omitted, null, or a number out of range, then element will be added at the end of the list.
|
|
12477
12503
|
*
|
|
12478
12504
|
* This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
|
|
12505
|
+
*
|
|
12506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add)
|
|
12479
12507
|
*/
|
|
12480
12508
|
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
|
|
12481
|
-
/**
|
|
12509
|
+
/**
|
|
12510
|
+
* Removes the item with index index from the collection.
|
|
12511
|
+
*
|
|
12512
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove)
|
|
12513
|
+
*/
|
|
12482
12514
|
remove(index: number): void;
|
|
12483
12515
|
}
|
|
12484
12516
|
|
|
@@ -12508,9 +12540,11 @@ interface HTMLOrSVGElement {
|
|
|
12508
12540
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)
|
|
12509
12541
|
*/
|
|
12510
12542
|
interface HTMLOutputElement extends HTMLElement {
|
|
12543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
12511
12544
|
defaultValue: string;
|
|
12512
12545
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
12513
12546
|
readonly form: HTMLFormElement | null;
|
|
12547
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
12514
12548
|
readonly htmlFor: DOMTokenList;
|
|
12515
12549
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12516
12550
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
@@ -19285,7 +19319,11 @@ interface Request extends Body {
|
|
|
19285
19319
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)
|
|
19286
19320
|
*/
|
|
19287
19321
|
readonly integrity: string;
|
|
19288
|
-
/**
|
|
19322
|
+
/**
|
|
19323
|
+
* Returns a boolean indicating whether or not request can outlive the global in which it was created.
|
|
19324
|
+
*
|
|
19325
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)
|
|
19326
|
+
*/
|
|
19289
19327
|
readonly keepalive: boolean;
|
|
19290
19328
|
/**
|
|
19291
19329
|
* Returns request's HTTP method, which is "GET" by default.
|
|
@@ -25329,6 +25367,7 @@ interface WebGLRenderingContextBase {
|
|
|
25329
25367
|
readonly drawingBufferHeight: GLsizei;
|
|
25330
25368
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */
|
|
25331
25369
|
readonly drawingBufferWidth: GLsizei;
|
|
25370
|
+
unpackColorSpace: PredefinedColorSpace;
|
|
25332
25371
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */
|
|
25333
25372
|
activeTexture(texture: GLenum): void;
|
|
25334
25373
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */
|
|
@@ -26633,11 +26672,11 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26633
26672
|
atob(data: string): string;
|
|
26634
26673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
26635
26674
|
btoa(data: string): string;
|
|
26636
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
26675
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
26637
26676
|
clearInterval(id: number | undefined): void;
|
|
26638
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
26677
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
26639
26678
|
clearTimeout(id: number | undefined): void;
|
|
26640
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
26679
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
26641
26680
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26642
26681
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26643
26682
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -26646,9 +26685,9 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26646
26685
|
queueMicrotask(callback: VoidFunction): void;
|
|
26647
26686
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
26648
26687
|
reportError(e: any): void;
|
|
26649
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
26688
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
26650
26689
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26651
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
26690
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
26652
26691
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26653
26692
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
26654
26693
|
structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
@@ -28681,11 +28720,11 @@ declare var performance: Performance;
|
|
|
28681
28720
|
declare function atob(data: string): string;
|
|
28682
28721
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
28683
28722
|
declare function btoa(data: string): string;
|
|
28684
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
28723
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
28685
28724
|
declare function clearInterval(id: number | undefined): void;
|
|
28686
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
28725
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
28687
28726
|
declare function clearTimeout(id: number | undefined): void;
|
|
28688
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
28727
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
28689
28728
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28690
28729
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28691
28730
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -28694,9 +28733,9 @@ declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Re
|
|
|
28694
28733
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
28695
28734
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
28696
28735
|
declare function reportError(e: any): void;
|
|
28697
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
28736
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
28698
28737
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28699
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
28738
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
28700
28739
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28701
28740
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
28702
28741
|
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|