@types/web 0.0.174 → 0.0.176
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 +158 -53
- package/iterable.d.ts +4 -5
- package/package.json +1 -1
- package/ts5.5/index.d.ts +118 -32
- package/ts5.5/iterable.d.ts +4 -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.176 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.176.
|
package/index.d.ts
CHANGED
|
@@ -771,6 +771,26 @@ interface ImageDataSettings {
|
|
|
771
771
|
colorSpace?: PredefinedColorSpace;
|
|
772
772
|
}
|
|
773
773
|
|
|
774
|
+
interface ImageDecodeOptions {
|
|
775
|
+
completeFramesOnly?: boolean;
|
|
776
|
+
frameIndex?: number;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
interface ImageDecodeResult {
|
|
780
|
+
complete: boolean;
|
|
781
|
+
image: VideoFrame;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
interface ImageDecoderInit {
|
|
785
|
+
colorSpaceConversion?: ColorSpaceConversion;
|
|
786
|
+
data: ImageBufferSource;
|
|
787
|
+
desiredHeight?: number;
|
|
788
|
+
desiredWidth?: number;
|
|
789
|
+
preferAnimation?: boolean;
|
|
790
|
+
transfer?: ArrayBuffer[];
|
|
791
|
+
type: string;
|
|
792
|
+
}
|
|
793
|
+
|
|
774
794
|
interface ImageEncodeOptions {
|
|
775
795
|
quality?: number;
|
|
776
796
|
type?: string;
|
|
@@ -3616,7 +3636,8 @@ declare var CSSCounterStyleRule: {
|
|
|
3616
3636
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule) */
|
|
3617
3637
|
interface CSSFontFaceRule extends CSSRule {
|
|
3618
3638
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style) */
|
|
3619
|
-
|
|
3639
|
+
get style(): CSSStyleDeclaration;
|
|
3640
|
+
set style(cssText: string);
|
|
3620
3641
|
}
|
|
3621
3642
|
|
|
3622
3643
|
declare var CSSFontFaceRule: {
|
|
@@ -3687,7 +3708,8 @@ interface CSSImportRule extends CSSRule {
|
|
|
3687
3708
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/layerName) */
|
|
3688
3709
|
readonly layerName: string | null;
|
|
3689
3710
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
|
|
3690
|
-
|
|
3711
|
+
get media(): MediaList;
|
|
3712
|
+
set media(mediaText: string);
|
|
3691
3713
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
|
|
3692
3714
|
readonly styleSheet: CSSStyleSheet | null;
|
|
3693
3715
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
|
|
@@ -3708,7 +3730,8 @@ interface CSSKeyframeRule extends CSSRule {
|
|
|
3708
3730
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/keyText) */
|
|
3709
3731
|
keyText: string;
|
|
3710
3732
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style) */
|
|
3711
|
-
|
|
3733
|
+
get style(): CSSStyleDeclaration;
|
|
3734
|
+
set style(cssText: string);
|
|
3712
3735
|
}
|
|
3713
3736
|
|
|
3714
3737
|
declare var CSSKeyframeRule: {
|
|
@@ -3881,7 +3904,8 @@ declare var CSSMatrixComponent: {
|
|
|
3881
3904
|
*/
|
|
3882
3905
|
interface CSSMediaRule extends CSSConditionRule {
|
|
3883
3906
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media) */
|
|
3884
|
-
|
|
3907
|
+
get media(): MediaList;
|
|
3908
|
+
set media(mediaText: string);
|
|
3885
3909
|
}
|
|
3886
3910
|
|
|
3887
3911
|
declare var CSSMediaRule: {
|
|
@@ -3907,7 +3931,8 @@ declare var CSSNamespaceRule: {
|
|
|
3907
3931
|
};
|
|
3908
3932
|
|
|
3909
3933
|
interface CSSNestedDeclarations extends CSSRule {
|
|
3910
|
-
|
|
3934
|
+
get style(): CSSStyleDeclaration;
|
|
3935
|
+
set style(cssText: string);
|
|
3911
3936
|
}
|
|
3912
3937
|
|
|
3913
3938
|
declare var CSSNestedDeclarations: {
|
|
@@ -3968,7 +3993,8 @@ interface CSSPageRule extends CSSGroupingRule {
|
|
|
3968
3993
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/selectorText) */
|
|
3969
3994
|
selectorText: string;
|
|
3970
3995
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style) */
|
|
3971
|
-
|
|
3996
|
+
get style(): CSSStyleDeclaration;
|
|
3997
|
+
set style(cssText: string);
|
|
3972
3998
|
}
|
|
3973
3999
|
|
|
3974
4000
|
declare var CSSPageRule: {
|
|
@@ -5237,11 +5263,7 @@ interface CSSStyleDeclaration {
|
|
|
5237
5263
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content)
|
|
5238
5264
|
*/
|
|
5239
5265
|
webkitJustifyContent: string;
|
|
5240
|
-
/**
|
|
5241
|
-
* @deprecated This is a legacy alias of `lineClamp`.
|
|
5242
|
-
*
|
|
5243
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp)
|
|
5244
|
-
*/
|
|
5266
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */
|
|
5245
5267
|
webkitLineClamp: string;
|
|
5246
5268
|
/**
|
|
5247
5269
|
* @deprecated This is a legacy alias of `mask`.
|
|
@@ -5466,7 +5488,8 @@ interface CSSStyleRule extends CSSGroupingRule {
|
|
|
5466
5488
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/selectorText) */
|
|
5467
5489
|
selectorText: string;
|
|
5468
5490
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style) */
|
|
5469
|
-
|
|
5491
|
+
get style(): CSSStyleDeclaration;
|
|
5492
|
+
set style(cssText: string);
|
|
5470
5493
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap) */
|
|
5471
5494
|
readonly styleMap: StylePropertyMap;
|
|
5472
5495
|
}
|
|
@@ -7424,7 +7447,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7424
7447
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)
|
|
7425
7448
|
*/
|
|
7426
7449
|
get location(): Location;
|
|
7427
|
-
set location(href: string
|
|
7450
|
+
set location(href: string);
|
|
7428
7451
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenchange_event) */
|
|
7429
7452
|
onfullscreenchange: ((this: Document, ev: Event) => any) | null;
|
|
7430
7453
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenerror_event) */
|
|
@@ -8076,7 +8099,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
8076
8099
|
*
|
|
8077
8100
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)
|
|
8078
8101
|
*/
|
|
8079
|
-
|
|
8102
|
+
get classList(): DOMTokenList;
|
|
8103
|
+
set classList(value: string);
|
|
8080
8104
|
/**
|
|
8081
8105
|
* Returns the value of element's class content attribute. Can be set to change it.
|
|
8082
8106
|
*
|
|
@@ -8121,7 +8145,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
8121
8145
|
outerHTML: string;
|
|
8122
8146
|
readonly ownerDocument: Document;
|
|
8123
8147
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part) */
|
|
8124
|
-
|
|
8148
|
+
get part(): DOMTokenList;
|
|
8149
|
+
set part(value: string);
|
|
8125
8150
|
/**
|
|
8126
8151
|
* Returns the namespace prefix.
|
|
8127
8152
|
*
|
|
@@ -8337,7 +8362,8 @@ interface ElementCSSInlineStyle {
|
|
|
8337
8362
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */
|
|
8338
8363
|
readonly attributeStyleMap: StylePropertyMap;
|
|
8339
8364
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */
|
|
8340
|
-
|
|
8365
|
+
get style(): CSSStyleDeclaration;
|
|
8366
|
+
set style(cssText: string);
|
|
8341
8367
|
}
|
|
8342
8368
|
|
|
8343
8369
|
interface ElementContentEditable {
|
|
@@ -9473,7 +9499,7 @@ interface GlobalEventHandlers {
|
|
|
9473
9499
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
9474
9500
|
*/
|
|
9475
9501
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
9476
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9502
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */
|
|
9477
9503
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9478
9504
|
/**
|
|
9479
9505
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -9961,7 +9987,8 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9961
9987
|
*/
|
|
9962
9988
|
rel: string;
|
|
9963
9989
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList) */
|
|
9964
|
-
|
|
9990
|
+
get relList(): DOMTokenList;
|
|
9991
|
+
set relList(value: string);
|
|
9965
9992
|
/**
|
|
9966
9993
|
* Sets or retrieves the relationship between the object and the destination of the link.
|
|
9967
9994
|
* @deprecated
|
|
@@ -10020,7 +10047,8 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
10020
10047
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel) */
|
|
10021
10048
|
rel: string;
|
|
10022
10049
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList) */
|
|
10023
|
-
|
|
10050
|
+
get relList(): DOMTokenList;
|
|
10051
|
+
set relList(value: string);
|
|
10024
10052
|
/** Sets or retrieves the shape of the object. */
|
|
10025
10053
|
shape: string;
|
|
10026
10054
|
/**
|
|
@@ -10172,9 +10200,17 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10172
10200
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
|
|
10173
10201
|
*/
|
|
10174
10202
|
formMethod: string;
|
|
10175
|
-
/**
|
|
10203
|
+
/**
|
|
10204
|
+
* 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.
|
|
10205
|
+
*
|
|
10206
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate)
|
|
10207
|
+
*/
|
|
10176
10208
|
formNoValidate: boolean;
|
|
10177
|
-
/**
|
|
10209
|
+
/**
|
|
10210
|
+
* Overrides the target attribute on a form element.
|
|
10211
|
+
*
|
|
10212
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)
|
|
10213
|
+
*/
|
|
10178
10214
|
formTarget: string;
|
|
10179
10215
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */
|
|
10180
10216
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
@@ -10801,10 +10837,15 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10801
10837
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
|
|
10802
10838
|
*/
|
|
10803
10839
|
name: string;
|
|
10804
|
-
/**
|
|
10840
|
+
/**
|
|
10841
|
+
* Designates a form that is not validated when submitted.
|
|
10842
|
+
*
|
|
10843
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
10844
|
+
*/
|
|
10805
10845
|
noValidate: boolean;
|
|
10806
10846
|
rel: string;
|
|
10807
|
-
|
|
10847
|
+
get relList(): DOMTokenList;
|
|
10848
|
+
set relList(value: string);
|
|
10808
10849
|
/**
|
|
10809
10850
|
* Sets or retrieves the window or frame at which to target content.
|
|
10810
10851
|
*
|
|
@@ -11195,7 +11236,8 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
11195
11236
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
|
|
11196
11237
|
referrerPolicy: ReferrerPolicy;
|
|
11197
11238
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
|
|
11198
|
-
|
|
11239
|
+
get sandbox(): DOMTokenList;
|
|
11240
|
+
set sandbox(value: string);
|
|
11199
11241
|
/**
|
|
11200
11242
|
* Sets or retrieves whether the frame can be scrolled.
|
|
11201
11243
|
* @deprecated
|
|
@@ -11454,9 +11496,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11454
11496
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
|
|
11455
11497
|
*/
|
|
11456
11498
|
formMethod: string;
|
|
11457
|
-
/**
|
|
11499
|
+
/**
|
|
11500
|
+
* 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.
|
|
11501
|
+
*
|
|
11502
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate)
|
|
11503
|
+
*/
|
|
11458
11504
|
formNoValidate: boolean;
|
|
11459
|
-
/**
|
|
11505
|
+
/**
|
|
11506
|
+
* Overrides the target attribute on a form element.
|
|
11507
|
+
*
|
|
11508
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)
|
|
11509
|
+
*/
|
|
11460
11510
|
formTarget: string;
|
|
11461
11511
|
/**
|
|
11462
11512
|
* Sets or retrieves the height of the object.
|
|
@@ -11806,13 +11856,15 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11806
11856
|
*/
|
|
11807
11857
|
rel: string;
|
|
11808
11858
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList) */
|
|
11809
|
-
|
|
11859
|
+
get relList(): DOMTokenList;
|
|
11860
|
+
set relList(value: string);
|
|
11810
11861
|
/**
|
|
11811
11862
|
* Sets or retrieves the relationship between the object and the destination of the link.
|
|
11812
11863
|
* @deprecated
|
|
11813
11864
|
*/
|
|
11814
11865
|
rev: string;
|
|
11815
|
-
|
|
11866
|
+
get sizes(): DOMTokenList;
|
|
11867
|
+
set sizes(value: string);
|
|
11816
11868
|
/**
|
|
11817
11869
|
* Sets or retrieves the window or frame at which to target content.
|
|
11818
11870
|
* @deprecated
|
|
@@ -12570,7 +12622,8 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
12570
12622
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
12571
12623
|
readonly form: HTMLFormElement | null;
|
|
12572
12624
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor) */
|
|
12573
|
-
|
|
12625
|
+
get htmlFor(): DOMTokenList;
|
|
12626
|
+
set htmlFor(value: string);
|
|
12574
12627
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12575
12628
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12576
12629
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
|
|
@@ -12844,6 +12897,7 @@ declare var HTMLScriptElement: {
|
|
|
12844
12897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement)
|
|
12845
12898
|
*/
|
|
12846
12899
|
interface HTMLSelectElement extends HTMLElement {
|
|
12900
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
|
|
12847
12901
|
autocomplete: AutoFill;
|
|
12848
12902
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
|
|
12849
12903
|
disabled: boolean;
|
|
@@ -14870,6 +14924,70 @@ declare var ImageData: {
|
|
|
14870
14924
|
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
14871
14925
|
};
|
|
14872
14926
|
|
|
14927
|
+
/**
|
|
14928
|
+
* Available only in secure contexts.
|
|
14929
|
+
*
|
|
14930
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder)
|
|
14931
|
+
*/
|
|
14932
|
+
interface ImageDecoder {
|
|
14933
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/complete) */
|
|
14934
|
+
readonly complete: boolean;
|
|
14935
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/completed) */
|
|
14936
|
+
readonly completed: Promise<undefined>;
|
|
14937
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/tracks) */
|
|
14938
|
+
readonly tracks: ImageTrackList;
|
|
14939
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/type) */
|
|
14940
|
+
readonly type: string;
|
|
14941
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/close) */
|
|
14942
|
+
close(): void;
|
|
14943
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/decode) */
|
|
14944
|
+
decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;
|
|
14945
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/reset) */
|
|
14946
|
+
reset(): void;
|
|
14947
|
+
}
|
|
14948
|
+
|
|
14949
|
+
declare var ImageDecoder: {
|
|
14950
|
+
prototype: ImageDecoder;
|
|
14951
|
+
new(init: ImageDecoderInit): ImageDecoder;
|
|
14952
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/isTypeSupported_static) */
|
|
14953
|
+
isTypeSupported(type: string): Promise<boolean>;
|
|
14954
|
+
};
|
|
14955
|
+
|
|
14956
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack) */
|
|
14957
|
+
interface ImageTrack {
|
|
14958
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/animated) */
|
|
14959
|
+
readonly animated: boolean;
|
|
14960
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/frameCount) */
|
|
14961
|
+
readonly frameCount: number;
|
|
14962
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/repetitionCount) */
|
|
14963
|
+
readonly repetitionCount: number;
|
|
14964
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/selected) */
|
|
14965
|
+
selected: boolean;
|
|
14966
|
+
}
|
|
14967
|
+
|
|
14968
|
+
declare var ImageTrack: {
|
|
14969
|
+
prototype: ImageTrack;
|
|
14970
|
+
new(): ImageTrack;
|
|
14971
|
+
};
|
|
14972
|
+
|
|
14973
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList) */
|
|
14974
|
+
interface ImageTrackList {
|
|
14975
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/length) */
|
|
14976
|
+
readonly length: number;
|
|
14977
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/ready) */
|
|
14978
|
+
readonly ready: Promise<undefined>;
|
|
14979
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedIndex) */
|
|
14980
|
+
readonly selectedIndex: number;
|
|
14981
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedTrack) */
|
|
14982
|
+
readonly selectedTrack: ImageTrack | null;
|
|
14983
|
+
[index: number]: ImageTrack;
|
|
14984
|
+
}
|
|
14985
|
+
|
|
14986
|
+
declare var ImageTrackList: {
|
|
14987
|
+
prototype: ImageTrackList;
|
|
14988
|
+
new(): ImageTrackList;
|
|
14989
|
+
};
|
|
14990
|
+
|
|
14873
14991
|
interface ImportMeta {
|
|
14874
14992
|
url: string;
|
|
14875
14993
|
resolve(specifier: string): string;
|
|
@@ -19490,7 +19608,8 @@ declare var Response: {
|
|
|
19490
19608
|
*/
|
|
19491
19609
|
interface SVGAElement extends SVGGraphicsElement, SVGURIReference {
|
|
19492
19610
|
rel: string;
|
|
19493
|
-
|
|
19611
|
+
get relList(): DOMTokenList;
|
|
19612
|
+
set relList(value: string);
|
|
19494
19613
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/target) */
|
|
19495
19614
|
readonly target: SVGAnimatedString;
|
|
19496
19615
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGAElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -22454,7 +22573,8 @@ interface StyleSheet {
|
|
|
22454
22573
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/href) */
|
|
22455
22574
|
readonly href: string | null;
|
|
22456
22575
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media) */
|
|
22457
|
-
|
|
22576
|
+
get media(): MediaList;
|
|
22577
|
+
set media(mediaText: string);
|
|
22458
22578
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode) */
|
|
22459
22579
|
readonly ownerNode: Element | ProcessingInstruction | null;
|
|
22460
22580
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet) */
|
|
@@ -26375,7 +26495,7 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
26375
26495
|
readonly length: number;
|
|
26376
26496
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location) */
|
|
26377
26497
|
get location(): Location;
|
|
26378
|
-
set location(href: string
|
|
26498
|
+
set location(href: string);
|
|
26379
26499
|
/**
|
|
26380
26500
|
* Returns true if the location bar is visible; otherwise, returns false.
|
|
26381
26501
|
*
|
|
@@ -26428,17 +26548,9 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
26428
26548
|
readonly outerHeight: number;
|
|
26429
26549
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
26430
26550
|
readonly outerWidth: number;
|
|
26431
|
-
/**
|
|
26432
|
-
* @deprecated This is a legacy alias of `scrollX`.
|
|
26433
|
-
*
|
|
26434
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)
|
|
26435
|
-
*/
|
|
26551
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) */
|
|
26436
26552
|
readonly pageXOffset: number;
|
|
26437
|
-
/**
|
|
26438
|
-
* @deprecated This is a legacy alias of `scrollY`.
|
|
26439
|
-
*
|
|
26440
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)
|
|
26441
|
-
*/
|
|
26553
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) */
|
|
26442
26554
|
readonly pageYOffset: number;
|
|
26443
26555
|
/**
|
|
26444
26556
|
* Refers to either the parent WindowProxy, or itself.
|
|
@@ -28071,17 +28183,9 @@ declare var orientation: number;
|
|
|
28071
28183
|
declare var outerHeight: number;
|
|
28072
28184
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
28073
28185
|
declare var outerWidth: number;
|
|
28074
|
-
/**
|
|
28075
|
-
* @deprecated This is a legacy alias of `scrollX`.
|
|
28076
|
-
*
|
|
28077
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)
|
|
28078
|
-
*/
|
|
28186
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) */
|
|
28079
28187
|
declare var pageXOffset: number;
|
|
28080
|
-
/**
|
|
28081
|
-
* @deprecated This is a legacy alias of `scrollY`.
|
|
28082
|
-
*
|
|
28083
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)
|
|
28084
|
-
*/
|
|
28188
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) */
|
|
28085
28189
|
declare var pageYOffset: number;
|
|
28086
28190
|
/**
|
|
28087
28191
|
* Refers to either the parent WindowProxy, or itself.
|
|
@@ -28272,7 +28376,7 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
|
|
|
28272
28376
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
28273
28377
|
*/
|
|
28274
28378
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
28275
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
28379
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */
|
|
28276
28380
|
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
28277
28381
|
/**
|
|
28278
28382
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -28817,6 +28921,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
|
28817
28921
|
type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
28818
28922
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
28819
28923
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
28924
|
+
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
|
28820
28925
|
type Int32List = Int32Array | GLint[];
|
|
28821
28926
|
type LineAndPositionSetting = number | AutoKeyword;
|
|
28822
28927
|
type MediaProvider = MediaStream | MediaSource | Blob;
|
package/iterable.d.ts
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
/// Window Iterable APIs
|
|
3
3
|
/////////////////////////////
|
|
4
4
|
|
|
5
|
-
interface AbortSignal {
|
|
6
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
7
|
-
any(signals: Iterable<AbortSignal>): AbortSignal;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
5
|
interface AudioParam {
|
|
11
6
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
|
|
12
7
|
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
|
@@ -176,6 +171,10 @@ interface IDBObjectStore {
|
|
|
176
171
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
177
172
|
}
|
|
178
173
|
|
|
174
|
+
interface ImageTrackList {
|
|
175
|
+
[Symbol.iterator](): ArrayIterator<ImageTrack>;
|
|
176
|
+
}
|
|
177
|
+
|
|
179
178
|
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
|
180
179
|
}
|
|
181
180
|
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -771,6 +771,26 @@ interface ImageDataSettings {
|
|
|
771
771
|
colorSpace?: PredefinedColorSpace;
|
|
772
772
|
}
|
|
773
773
|
|
|
774
|
+
interface ImageDecodeOptions {
|
|
775
|
+
completeFramesOnly?: boolean;
|
|
776
|
+
frameIndex?: number;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
interface ImageDecodeResult {
|
|
780
|
+
complete: boolean;
|
|
781
|
+
image: VideoFrame;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
interface ImageDecoderInit {
|
|
785
|
+
colorSpaceConversion?: ColorSpaceConversion;
|
|
786
|
+
data: ImageBufferSource;
|
|
787
|
+
desiredHeight?: number;
|
|
788
|
+
desiredWidth?: number;
|
|
789
|
+
preferAnimation?: boolean;
|
|
790
|
+
transfer?: ArrayBuffer[];
|
|
791
|
+
type: string;
|
|
792
|
+
}
|
|
793
|
+
|
|
774
794
|
interface ImageEncodeOptions {
|
|
775
795
|
quality?: number;
|
|
776
796
|
type?: string;
|
|
@@ -5237,11 +5257,7 @@ interface CSSStyleDeclaration {
|
|
|
5237
5257
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content)
|
|
5238
5258
|
*/
|
|
5239
5259
|
webkitJustifyContent: string;
|
|
5240
|
-
/**
|
|
5241
|
-
* @deprecated This is a legacy alias of `lineClamp`.
|
|
5242
|
-
*
|
|
5243
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp)
|
|
5244
|
-
*/
|
|
5260
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp) */
|
|
5245
5261
|
webkitLineClamp: string;
|
|
5246
5262
|
/**
|
|
5247
5263
|
* @deprecated This is a legacy alias of `mask`.
|
|
@@ -9473,7 +9489,7 @@ interface GlobalEventHandlers {
|
|
|
9473
9489
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
9474
9490
|
*/
|
|
9475
9491
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
9476
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9492
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */
|
|
9477
9493
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9478
9494
|
/**
|
|
9479
9495
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -10172,9 +10188,17 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10172
10188
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)
|
|
10173
10189
|
*/
|
|
10174
10190
|
formMethod: string;
|
|
10175
|
-
/**
|
|
10191
|
+
/**
|
|
10192
|
+
* 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.
|
|
10193
|
+
*
|
|
10194
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate)
|
|
10195
|
+
*/
|
|
10176
10196
|
formNoValidate: boolean;
|
|
10177
|
-
/**
|
|
10197
|
+
/**
|
|
10198
|
+
* Overrides the target attribute on a form element.
|
|
10199
|
+
*
|
|
10200
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)
|
|
10201
|
+
*/
|
|
10178
10202
|
formTarget: string;
|
|
10179
10203
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */
|
|
10180
10204
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
@@ -10801,7 +10825,11 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10801
10825
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)
|
|
10802
10826
|
*/
|
|
10803
10827
|
name: string;
|
|
10804
|
-
/**
|
|
10828
|
+
/**
|
|
10829
|
+
* Designates a form that is not validated when submitted.
|
|
10830
|
+
*
|
|
10831
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)
|
|
10832
|
+
*/
|
|
10805
10833
|
noValidate: boolean;
|
|
10806
10834
|
rel: string;
|
|
10807
10835
|
readonly relList: DOMTokenList;
|
|
@@ -11454,9 +11482,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11454
11482
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)
|
|
11455
11483
|
*/
|
|
11456
11484
|
formMethod: string;
|
|
11457
|
-
/**
|
|
11485
|
+
/**
|
|
11486
|
+
* 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.
|
|
11487
|
+
*
|
|
11488
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate)
|
|
11489
|
+
*/
|
|
11458
11490
|
formNoValidate: boolean;
|
|
11459
|
-
/**
|
|
11491
|
+
/**
|
|
11492
|
+
* Overrides the target attribute on a form element.
|
|
11493
|
+
*
|
|
11494
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)
|
|
11495
|
+
*/
|
|
11460
11496
|
formTarget: string;
|
|
11461
11497
|
/**
|
|
11462
11498
|
* Sets or retrieves the height of the object.
|
|
@@ -12844,6 +12880,7 @@ declare var HTMLScriptElement: {
|
|
|
12844
12880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement)
|
|
12845
12881
|
*/
|
|
12846
12882
|
interface HTMLSelectElement extends HTMLElement {
|
|
12883
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete) */
|
|
12847
12884
|
autocomplete: AutoFill;
|
|
12848
12885
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled) */
|
|
12849
12886
|
disabled: boolean;
|
|
@@ -14870,6 +14907,70 @@ declare var ImageData: {
|
|
|
14870
14907
|
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
14871
14908
|
};
|
|
14872
14909
|
|
|
14910
|
+
/**
|
|
14911
|
+
* Available only in secure contexts.
|
|
14912
|
+
*
|
|
14913
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder)
|
|
14914
|
+
*/
|
|
14915
|
+
interface ImageDecoder {
|
|
14916
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/complete) */
|
|
14917
|
+
readonly complete: boolean;
|
|
14918
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/completed) */
|
|
14919
|
+
readonly completed: Promise<undefined>;
|
|
14920
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/tracks) */
|
|
14921
|
+
readonly tracks: ImageTrackList;
|
|
14922
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/type) */
|
|
14923
|
+
readonly type: string;
|
|
14924
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/close) */
|
|
14925
|
+
close(): void;
|
|
14926
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/decode) */
|
|
14927
|
+
decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;
|
|
14928
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/reset) */
|
|
14929
|
+
reset(): void;
|
|
14930
|
+
}
|
|
14931
|
+
|
|
14932
|
+
declare var ImageDecoder: {
|
|
14933
|
+
prototype: ImageDecoder;
|
|
14934
|
+
new(init: ImageDecoderInit): ImageDecoder;
|
|
14935
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/isTypeSupported_static) */
|
|
14936
|
+
isTypeSupported(type: string): Promise<boolean>;
|
|
14937
|
+
};
|
|
14938
|
+
|
|
14939
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack) */
|
|
14940
|
+
interface ImageTrack {
|
|
14941
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/animated) */
|
|
14942
|
+
readonly animated: boolean;
|
|
14943
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/frameCount) */
|
|
14944
|
+
readonly frameCount: number;
|
|
14945
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/repetitionCount) */
|
|
14946
|
+
readonly repetitionCount: number;
|
|
14947
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/selected) */
|
|
14948
|
+
selected: boolean;
|
|
14949
|
+
}
|
|
14950
|
+
|
|
14951
|
+
declare var ImageTrack: {
|
|
14952
|
+
prototype: ImageTrack;
|
|
14953
|
+
new(): ImageTrack;
|
|
14954
|
+
};
|
|
14955
|
+
|
|
14956
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList) */
|
|
14957
|
+
interface ImageTrackList {
|
|
14958
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/length) */
|
|
14959
|
+
readonly length: number;
|
|
14960
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/ready) */
|
|
14961
|
+
readonly ready: Promise<undefined>;
|
|
14962
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedIndex) */
|
|
14963
|
+
readonly selectedIndex: number;
|
|
14964
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedTrack) */
|
|
14965
|
+
readonly selectedTrack: ImageTrack | null;
|
|
14966
|
+
[index: number]: ImageTrack;
|
|
14967
|
+
}
|
|
14968
|
+
|
|
14969
|
+
declare var ImageTrackList: {
|
|
14970
|
+
prototype: ImageTrackList;
|
|
14971
|
+
new(): ImageTrackList;
|
|
14972
|
+
};
|
|
14973
|
+
|
|
14873
14974
|
interface ImportMeta {
|
|
14874
14975
|
url: string;
|
|
14875
14976
|
resolve(specifier: string): string;
|
|
@@ -26428,17 +26529,9 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
26428
26529
|
readonly outerHeight: number;
|
|
26429
26530
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
26430
26531
|
readonly outerWidth: number;
|
|
26431
|
-
/**
|
|
26432
|
-
* @deprecated This is a legacy alias of `scrollX`.
|
|
26433
|
-
*
|
|
26434
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)
|
|
26435
|
-
*/
|
|
26532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) */
|
|
26436
26533
|
readonly pageXOffset: number;
|
|
26437
|
-
/**
|
|
26438
|
-
* @deprecated This is a legacy alias of `scrollY`.
|
|
26439
|
-
*
|
|
26440
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)
|
|
26441
|
-
*/
|
|
26534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) */
|
|
26442
26535
|
readonly pageYOffset: number;
|
|
26443
26536
|
/**
|
|
26444
26537
|
* Refers to either the parent WindowProxy, or itself.
|
|
@@ -28071,17 +28164,9 @@ declare var orientation: number;
|
|
|
28071
28164
|
declare var outerHeight: number;
|
|
28072
28165
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth) */
|
|
28073
28166
|
declare var outerWidth: number;
|
|
28074
|
-
/**
|
|
28075
|
-
* @deprecated This is a legacy alias of `scrollX`.
|
|
28076
|
-
*
|
|
28077
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)
|
|
28078
|
-
*/
|
|
28167
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) */
|
|
28079
28168
|
declare var pageXOffset: number;
|
|
28080
|
-
/**
|
|
28081
|
-
* @deprecated This is a legacy alias of `scrollY`.
|
|
28082
|
-
*
|
|
28083
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)
|
|
28084
|
-
*/
|
|
28169
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) */
|
|
28085
28170
|
declare var pageYOffset: number;
|
|
28086
28171
|
/**
|
|
28087
28172
|
* Refers to either the parent WindowProxy, or itself.
|
|
@@ -28272,7 +28357,7 @@ declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
|
|
|
28272
28357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event)
|
|
28273
28358
|
*/
|
|
28274
28359
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
28275
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
28360
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */
|
|
28276
28361
|
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
28277
28362
|
/**
|
|
28278
28363
|
* Occurs when playback is possible, but would require further buffering.
|
|
@@ -28817,6 +28902,7 @@ type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
|
28817
28902
|
type HeadersInit = [string, string][] | Record<string, string> | Headers;
|
|
28818
28903
|
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
|
|
28819
28904
|
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
|
|
28905
|
+
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;
|
|
28820
28906
|
type Int32List = Int32Array | GLint[];
|
|
28821
28907
|
type LineAndPositionSetting = number | AutoKeyword;
|
|
28822
28908
|
type MediaProvider = MediaStream | MediaSource | Blob;
|
package/ts5.5/iterable.d.ts
CHANGED
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
/// Window Iterable APIs
|
|
3
3
|
/////////////////////////////
|
|
4
4
|
|
|
5
|
-
interface AbortSignal {
|
|
6
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
|
|
7
|
-
any(signals: Iterable<AbortSignal>): AbortSignal;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
5
|
interface AudioParam {
|
|
11
6
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
|
|
12
7
|
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
|
@@ -168,6 +163,10 @@ interface IDBObjectStore {
|
|
|
168
163
|
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
169
164
|
}
|
|
170
165
|
|
|
166
|
+
interface ImageTrackList {
|
|
167
|
+
[Symbol.iterator](): IterableIterator<ImageTrack>;
|
|
168
|
+
}
|
|
169
|
+
|
|
171
170
|
interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
|
|
172
171
|
}
|
|
173
172
|
|