@types/web 0.0.168 → 0.0.170
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 +36 -11
- package/package.json +1 -1
- package/ts5.5/index.d.ts +36 -11
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.170 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.170.
|
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) */
|
|
@@ -12017,6 +12028,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12017
12028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
|
|
12018
12029
|
*/
|
|
12019
12030
|
volume: number;
|
|
12031
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */
|
|
12020
12032
|
addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;
|
|
12021
12033
|
/**
|
|
12022
12034
|
* Returns a string that specifies whether the client can play a given media resource type.
|
|
@@ -12460,12 +12472,16 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12460
12472
|
* When set to a smaller number, truncates the number of option elements in the corresponding container.
|
|
12461
12473
|
*
|
|
12462
12474
|
* When set to a greater number, adds new blank option elements to that container.
|
|
12475
|
+
*
|
|
12476
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length)
|
|
12463
12477
|
*/
|
|
12464
12478
|
length: number;
|
|
12465
12479
|
/**
|
|
12466
12480
|
* Returns the index of the first selected item, if any, or −1 if there is no selected item.
|
|
12467
12481
|
*
|
|
12468
12482
|
* Can be set, to change the selection.
|
|
12483
|
+
*
|
|
12484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex)
|
|
12469
12485
|
*/
|
|
12470
12486
|
selectedIndex: number;
|
|
12471
12487
|
/**
|
|
@@ -12476,9 +12492,15 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12476
12492
|
* If before is omitted, null, or a number out of range, then element will be added at the end of the list.
|
|
12477
12493
|
*
|
|
12478
12494
|
* This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
|
|
12495
|
+
*
|
|
12496
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add)
|
|
12479
12497
|
*/
|
|
12480
12498
|
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
|
|
12481
|
-
/**
|
|
12499
|
+
/**
|
|
12500
|
+
* Removes the item with index index from the collection.
|
|
12501
|
+
*
|
|
12502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove)
|
|
12503
|
+
*/
|
|
12482
12504
|
remove(index: number): void;
|
|
12483
12505
|
}
|
|
12484
12506
|
|
|
@@ -12508,9 +12530,11 @@ interface HTMLOrSVGElement {
|
|
|
12508
12530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)
|
|
12509
12531
|
*/
|
|
12510
12532
|
interface HTMLOutputElement extends HTMLElement {
|
|
12533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
12511
12534
|
defaultValue: string;
|
|
12512
12535
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
12513
12536
|
readonly form: HTMLFormElement | null;
|
|
12537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
12514
12538
|
readonly htmlFor: DOMTokenList;
|
|
12515
12539
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12516
12540
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
@@ -25329,6 +25353,7 @@ interface WebGLRenderingContextBase {
|
|
|
25329
25353
|
readonly drawingBufferHeight: GLsizei;
|
|
25330
25354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */
|
|
25331
25355
|
readonly drawingBufferWidth: GLsizei;
|
|
25356
|
+
unpackColorSpace: PredefinedColorSpace;
|
|
25332
25357
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */
|
|
25333
25358
|
activeTexture(texture: GLenum): void;
|
|
25334
25359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */
|
|
@@ -26633,11 +26658,11 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26633
26658
|
atob(data: string): string;
|
|
26634
26659
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
26635
26660
|
btoa(data: string): string;
|
|
26636
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
26661
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
26637
26662
|
clearInterval(id: number | undefined): void;
|
|
26638
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
26663
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
26639
26664
|
clearTimeout(id: number | undefined): void;
|
|
26640
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
26665
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
26641
26666
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26642
26667
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26643
26668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -26646,9 +26671,9 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26646
26671
|
queueMicrotask(callback: VoidFunction): void;
|
|
26647
26672
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
26648
26673
|
reportError(e: any): void;
|
|
26649
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
26674
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
26650
26675
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26651
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
26676
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
26652
26677
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26653
26678
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
26654
26679
|
structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
@@ -28681,11 +28706,11 @@ declare var performance: Performance;
|
|
|
28681
28706
|
declare function atob(data: string): string;
|
|
28682
28707
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
28683
28708
|
declare function btoa(data: string): string;
|
|
28684
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
28709
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
28685
28710
|
declare function clearInterval(id: number | undefined): void;
|
|
28686
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
28711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
28687
28712
|
declare function clearTimeout(id: number | undefined): void;
|
|
28688
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
28713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
28689
28714
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28690
28715
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28691
28716
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -28694,9 +28719,9 @@ declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Re
|
|
|
28694
28719
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
28695
28720
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
28696
28721
|
declare function reportError(e: any): void;
|
|
28697
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
28722
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
28698
28723
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28699
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
28724
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
28700
28725
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28701
28726
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
28702
28727
|
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) */
|
|
@@ -12017,6 +12028,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
12017
12028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)
|
|
12018
12029
|
*/
|
|
12019
12030
|
volume: number;
|
|
12031
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack) */
|
|
12020
12032
|
addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;
|
|
12021
12033
|
/**
|
|
12022
12034
|
* Returns a string that specifies whether the client can play a given media resource type.
|
|
@@ -12460,12 +12472,16 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12460
12472
|
* When set to a smaller number, truncates the number of option elements in the corresponding container.
|
|
12461
12473
|
*
|
|
12462
12474
|
* When set to a greater number, adds new blank option elements to that container.
|
|
12475
|
+
*
|
|
12476
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length)
|
|
12463
12477
|
*/
|
|
12464
12478
|
length: number;
|
|
12465
12479
|
/**
|
|
12466
12480
|
* Returns the index of the first selected item, if any, or −1 if there is no selected item.
|
|
12467
12481
|
*
|
|
12468
12482
|
* Can be set, to change the selection.
|
|
12483
|
+
*
|
|
12484
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex)
|
|
12469
12485
|
*/
|
|
12470
12486
|
selectedIndex: number;
|
|
12471
12487
|
/**
|
|
@@ -12476,9 +12492,15 @@ interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
|
|
|
12476
12492
|
* If before is omitted, null, or a number out of range, then element will be added at the end of the list.
|
|
12477
12493
|
*
|
|
12478
12494
|
* This method will throw a "HierarchyRequestError" DOMException if element is an ancestor of the element into which it is to be inserted.
|
|
12495
|
+
*
|
|
12496
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add)
|
|
12479
12497
|
*/
|
|
12480
12498
|
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
|
|
12481
|
-
/**
|
|
12499
|
+
/**
|
|
12500
|
+
* Removes the item with index index from the collection.
|
|
12501
|
+
*
|
|
12502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove)
|
|
12503
|
+
*/
|
|
12482
12504
|
remove(index: number): void;
|
|
12483
12505
|
}
|
|
12484
12506
|
|
|
@@ -12508,9 +12530,11 @@ interface HTMLOrSVGElement {
|
|
|
12508
12530
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)
|
|
12509
12531
|
*/
|
|
12510
12532
|
interface HTMLOutputElement extends HTMLElement {
|
|
12533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue) */
|
|
12511
12534
|
defaultValue: string;
|
|
12512
12535
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
12513
12536
|
readonly form: HTMLFormElement | null;
|
|
12537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
12514
12538
|
readonly htmlFor: DOMTokenList;
|
|
12515
12539
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12516
12540
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
@@ -25329,6 +25353,7 @@ interface WebGLRenderingContextBase {
|
|
|
25329
25353
|
readonly drawingBufferHeight: GLsizei;
|
|
25330
25354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */
|
|
25331
25355
|
readonly drawingBufferWidth: GLsizei;
|
|
25356
|
+
unpackColorSpace: PredefinedColorSpace;
|
|
25332
25357
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */
|
|
25333
25358
|
activeTexture(texture: GLenum): void;
|
|
25334
25359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */
|
|
@@ -26633,11 +26658,11 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26633
26658
|
atob(data: string): string;
|
|
26634
26659
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
26635
26660
|
btoa(data: string): string;
|
|
26636
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
26661
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
26637
26662
|
clearInterval(id: number | undefined): void;
|
|
26638
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
26663
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
26639
26664
|
clearTimeout(id: number | undefined): void;
|
|
26640
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
26665
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
26641
26666
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26642
26667
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
26643
26668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -26646,9 +26671,9 @@ interface WindowOrWorkerGlobalScope {
|
|
|
26646
26671
|
queueMicrotask(callback: VoidFunction): void;
|
|
26647
26672
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
26648
26673
|
reportError(e: any): void;
|
|
26649
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
26674
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
26650
26675
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26651
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
26676
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
26652
26677
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
26653
26678
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
26654
26679
|
structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
@@ -28681,11 +28706,11 @@ declare var performance: Performance;
|
|
|
28681
28706
|
declare function atob(data: string): string;
|
|
28682
28707
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */
|
|
28683
28708
|
declare function btoa(data: string): string;
|
|
28684
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearInterval) */
|
|
28709
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */
|
|
28685
28710
|
declare function clearInterval(id: number | undefined): void;
|
|
28686
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/clearTimeout) */
|
|
28711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */
|
|
28687
28712
|
declare function clearTimeout(id: number | undefined): void;
|
|
28688
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
28713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */
|
|
28689
28714
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28690
28715
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
28691
28716
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
@@ -28694,9 +28719,9 @@ declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Re
|
|
|
28694
28719
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
28695
28720
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */
|
|
28696
28721
|
declare function reportError(e: any): void;
|
|
28697
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setInterval) */
|
|
28722
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */
|
|
28698
28723
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28699
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/setTimeout) */
|
|
28724
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */
|
|
28700
28725
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
28701
28726
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */
|
|
28702
28727
|
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|