@types/web 0.0.93 → 0.0.95
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 +729 -9
- package/iterable.d.ts +28 -0
- package/package.json +1 -1
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.95 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.95.
|
package/index.d.ts
CHANGED
|
@@ -135,6 +135,10 @@ interface AuthenticatorSelectionCriteria {
|
|
|
135
135
|
userVerification?: UserVerificationRequirement;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
+
interface AvcEncoderConfig {
|
|
139
|
+
format?: AvcBitstreamFormat;
|
|
140
|
+
}
|
|
141
|
+
|
|
138
142
|
interface BiquadFilterOptions extends AudioNodeOptions {
|
|
139
143
|
Q?: number;
|
|
140
144
|
detune?: number;
|
|
@@ -153,6 +157,21 @@ interface BlobPropertyBag {
|
|
|
153
157
|
type?: string;
|
|
154
158
|
}
|
|
155
159
|
|
|
160
|
+
interface CSSMatrixComponentOptions {
|
|
161
|
+
is2D?: boolean;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
interface CSSNumericType {
|
|
165
|
+
angle?: number;
|
|
166
|
+
flex?: number;
|
|
167
|
+
frequency?: number;
|
|
168
|
+
length?: number;
|
|
169
|
+
percent?: number;
|
|
170
|
+
percentHint?: CSSNumericBaseType;
|
|
171
|
+
resolution?: number;
|
|
172
|
+
time?: number;
|
|
173
|
+
}
|
|
174
|
+
|
|
156
175
|
interface CSSStyleSheetInit {
|
|
157
176
|
baseURL?: string;
|
|
158
177
|
disabled?: boolean;
|
|
@@ -408,7 +427,7 @@ interface EcdsaParams extends Algorithm {
|
|
|
408
427
|
interface EffectTiming {
|
|
409
428
|
delay?: number;
|
|
410
429
|
direction?: PlaybackDirection;
|
|
411
|
-
duration?: number | string;
|
|
430
|
+
duration?: number | CSSNumericValue | string;
|
|
412
431
|
easing?: string;
|
|
413
432
|
endDelay?: number;
|
|
414
433
|
fill?: FillMode;
|
|
@@ -425,6 +444,17 @@ interface ElementDefinitionOptions {
|
|
|
425
444
|
extends?: string;
|
|
426
445
|
}
|
|
427
446
|
|
|
447
|
+
interface EncodedVideoChunkInit {
|
|
448
|
+
data: BufferSource;
|
|
449
|
+
duration?: number;
|
|
450
|
+
timestamp: number;
|
|
451
|
+
type: EncodedVideoChunkType;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
interface EncodedVideoChunkMetadata {
|
|
455
|
+
decoderConfig?: VideoDecoderConfig;
|
|
456
|
+
}
|
|
457
|
+
|
|
428
458
|
interface ErrorEventInit extends EventInit {
|
|
429
459
|
colno?: number;
|
|
430
460
|
error?: any;
|
|
@@ -522,6 +552,13 @@ interface GainOptions extends AudioNodeOptions {
|
|
|
522
552
|
gain?: number;
|
|
523
553
|
}
|
|
524
554
|
|
|
555
|
+
interface GamepadEffectParameters {
|
|
556
|
+
duration?: number;
|
|
557
|
+
startDelay?: number;
|
|
558
|
+
strongMagnitude?: number;
|
|
559
|
+
weakMagnitude?: number;
|
|
560
|
+
}
|
|
561
|
+
|
|
525
562
|
interface GamepadEventInit extends EventInit {
|
|
526
563
|
gamepad: Gamepad;
|
|
527
564
|
}
|
|
@@ -1125,6 +1162,11 @@ interface PictureInPictureEventInit extends EventInit {
|
|
|
1125
1162
|
pictureInPictureWindow: PictureInPictureWindow;
|
|
1126
1163
|
}
|
|
1127
1164
|
|
|
1165
|
+
interface PlaneLayout {
|
|
1166
|
+
offset: number;
|
|
1167
|
+
stride: number;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1128
1170
|
interface PointerEventInit extends MouseEventInit {
|
|
1129
1171
|
coalescedEvents?: PointerEvent[];
|
|
1130
1172
|
height?: number;
|
|
@@ -1161,6 +1203,13 @@ interface PromiseRejectionEventInit extends EventInit {
|
|
|
1161
1203
|
reason?: any;
|
|
1162
1204
|
}
|
|
1163
1205
|
|
|
1206
|
+
interface PropertyDefinition {
|
|
1207
|
+
inherits: boolean;
|
|
1208
|
+
initialValue?: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
syntax?: string;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1164
1213
|
interface PropertyIndexedKeyframes {
|
|
1165
1214
|
composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
|
|
1166
1215
|
easing?: string | string[];
|
|
@@ -1312,6 +1361,11 @@ interface RTCIceCandidateInit {
|
|
|
1312
1361
|
usernameFragment?: string | null;
|
|
1313
1362
|
}
|
|
1314
1363
|
|
|
1364
|
+
interface RTCIceCandidatePair {
|
|
1365
|
+
local?: RTCIceCandidate;
|
|
1366
|
+
remote?: RTCIceCandidate;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1315
1369
|
interface RTCIceCandidatePairStats extends RTCStats {
|
|
1316
1370
|
availableIncomingBitrate?: number;
|
|
1317
1371
|
availableOutgoingBitrate?: number;
|
|
@@ -1591,6 +1645,11 @@ interface RegistrationOptions {
|
|
|
1591
1645
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
1592
1646
|
}
|
|
1593
1647
|
|
|
1648
|
+
interface ReportingObserverOptions {
|
|
1649
|
+
buffered?: boolean;
|
|
1650
|
+
types?: string[];
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1594
1653
|
interface RequestInit {
|
|
1595
1654
|
/** A BodyInit object or null to set request's body. */
|
|
1596
1655
|
body?: BodyInit | null;
|
|
@@ -1914,6 +1973,71 @@ interface VideoConfiguration {
|
|
|
1914
1973
|
width: number;
|
|
1915
1974
|
}
|
|
1916
1975
|
|
|
1976
|
+
interface VideoDecoderConfig {
|
|
1977
|
+
codec: string;
|
|
1978
|
+
codedHeight?: number;
|
|
1979
|
+
codedWidth?: number;
|
|
1980
|
+
colorSpace?: VideoColorSpaceInit;
|
|
1981
|
+
description?: BufferSource;
|
|
1982
|
+
displayAspectHeight?: number;
|
|
1983
|
+
displayAspectWidth?: number;
|
|
1984
|
+
hardwareAcceleration?: HardwareAcceleration;
|
|
1985
|
+
optimizeForLatency?: boolean;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
interface VideoDecoderInit {
|
|
1989
|
+
error: WebCodecsErrorCallback;
|
|
1990
|
+
output: VideoFrameOutputCallback;
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
interface VideoDecoderSupport {
|
|
1994
|
+
config?: VideoDecoderConfig;
|
|
1995
|
+
supported?: boolean;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
interface VideoEncoderConfig {
|
|
1999
|
+
alpha?: AlphaOption;
|
|
2000
|
+
avc?: AvcEncoderConfig;
|
|
2001
|
+
bitrate?: number;
|
|
2002
|
+
bitrateMode?: BitrateMode;
|
|
2003
|
+
codec: string;
|
|
2004
|
+
displayHeight?: number;
|
|
2005
|
+
displayWidth?: number;
|
|
2006
|
+
framerate?: number;
|
|
2007
|
+
hardwareAcceleration?: HardwareAcceleration;
|
|
2008
|
+
height: number;
|
|
2009
|
+
latencyMode?: LatencyMode;
|
|
2010
|
+
scalabilityMode?: string;
|
|
2011
|
+
width: number;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
interface VideoEncoderEncodeOptions {
|
|
2015
|
+
keyFrame?: boolean;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
interface VideoEncoderInit {
|
|
2019
|
+
error: WebCodecsErrorCallback;
|
|
2020
|
+
output: EncodedVideoChunkOutputCallback;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
interface VideoEncoderSupport {
|
|
2024
|
+
config?: VideoEncoderConfig;
|
|
2025
|
+
supported?: boolean;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
interface VideoFrameBufferInit {
|
|
2029
|
+
codedHeight: number;
|
|
2030
|
+
codedWidth: number;
|
|
2031
|
+
colorSpace?: VideoColorSpaceInit;
|
|
2032
|
+
displayHeight?: number;
|
|
2033
|
+
displayWidth?: number;
|
|
2034
|
+
duration?: number;
|
|
2035
|
+
format: VideoPixelFormat;
|
|
2036
|
+
layout?: PlaneLayout[];
|
|
2037
|
+
timestamp: number;
|
|
2038
|
+
visibleRect?: DOMRectInit;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
1917
2041
|
interface VideoFrameCallbackMetadata {
|
|
1918
2042
|
captureTime?: DOMHighResTimeStamp;
|
|
1919
2043
|
expectedDisplayTime: DOMHighResTimeStamp;
|
|
@@ -1927,6 +2051,20 @@ interface VideoFrameCallbackMetadata {
|
|
|
1927
2051
|
width: number;
|
|
1928
2052
|
}
|
|
1929
2053
|
|
|
2054
|
+
interface VideoFrameCopyToOptions {
|
|
2055
|
+
layout?: PlaneLayout[];
|
|
2056
|
+
rect?: DOMRectInit;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
interface VideoFrameInit {
|
|
2060
|
+
alpha?: AlphaOption;
|
|
2061
|
+
displayHeight?: number;
|
|
2062
|
+
displayWidth?: number;
|
|
2063
|
+
duration?: number;
|
|
2064
|
+
timestamp?: number;
|
|
2065
|
+
visibleRect?: DOMRectInit;
|
|
2066
|
+
}
|
|
2067
|
+
|
|
1930
2068
|
interface WaveShaperOptions extends AudioNodeOptions {
|
|
1931
2069
|
curve?: number[] | Float32Array;
|
|
1932
2070
|
oversample?: OverSampleType;
|
|
@@ -2733,6 +2871,14 @@ declare var CSSGroupingRule: {
|
|
|
2733
2871
|
new(): CSSGroupingRule;
|
|
2734
2872
|
};
|
|
2735
2873
|
|
|
2874
|
+
interface CSSImageValue extends CSSStyleValue {
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
declare var CSSImageValue: {
|
|
2878
|
+
prototype: CSSImageValue;
|
|
2879
|
+
new(): CSSImageValue;
|
|
2880
|
+
};
|
|
2881
|
+
|
|
2736
2882
|
interface CSSImportRule extends CSSRule {
|
|
2737
2883
|
readonly href: string;
|
|
2738
2884
|
readonly layerName: string | null;
|
|
@@ -2771,6 +2917,15 @@ declare var CSSKeyframesRule: {
|
|
|
2771
2917
|
new(): CSSKeyframesRule;
|
|
2772
2918
|
};
|
|
2773
2919
|
|
|
2920
|
+
interface CSSKeywordValue extends CSSStyleValue {
|
|
2921
|
+
value: string;
|
|
2922
|
+
}
|
|
2923
|
+
|
|
2924
|
+
declare var CSSKeywordValue: {
|
|
2925
|
+
prototype: CSSKeywordValue;
|
|
2926
|
+
new(value: string): CSSKeywordValue;
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2774
2929
|
interface CSSLayerBlockRule extends CSSGroupingRule {
|
|
2775
2930
|
readonly name: string;
|
|
2776
2931
|
}
|
|
@@ -2789,6 +2944,89 @@ declare var CSSLayerStatementRule: {
|
|
|
2789
2944
|
new(): CSSLayerStatementRule;
|
|
2790
2945
|
};
|
|
2791
2946
|
|
|
2947
|
+
interface CSSMathClamp extends CSSMathValue {
|
|
2948
|
+
readonly lower: CSSNumericValue;
|
|
2949
|
+
readonly upper: CSSNumericValue;
|
|
2950
|
+
readonly value: CSSNumericValue;
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
declare var CSSMathClamp: {
|
|
2954
|
+
prototype: CSSMathClamp;
|
|
2955
|
+
new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
interface CSSMathInvert extends CSSMathValue {
|
|
2959
|
+
readonly value: CSSNumericValue;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
declare var CSSMathInvert: {
|
|
2963
|
+
prototype: CSSMathInvert;
|
|
2964
|
+
new(arg: CSSNumberish): CSSMathInvert;
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
interface CSSMathMax extends CSSMathValue {
|
|
2968
|
+
readonly values: CSSNumericArray;
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
declare var CSSMathMax: {
|
|
2972
|
+
prototype: CSSMathMax;
|
|
2973
|
+
new(...args: CSSNumberish[]): CSSMathMax;
|
|
2974
|
+
};
|
|
2975
|
+
|
|
2976
|
+
interface CSSMathMin extends CSSMathValue {
|
|
2977
|
+
readonly values: CSSNumericArray;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
declare var CSSMathMin: {
|
|
2981
|
+
prototype: CSSMathMin;
|
|
2982
|
+
new(...args: CSSNumberish[]): CSSMathMin;
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
interface CSSMathNegate extends CSSMathValue {
|
|
2986
|
+
readonly value: CSSNumericValue;
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
declare var CSSMathNegate: {
|
|
2990
|
+
prototype: CSSMathNegate;
|
|
2991
|
+
new(arg: CSSNumberish): CSSMathNegate;
|
|
2992
|
+
};
|
|
2993
|
+
|
|
2994
|
+
interface CSSMathProduct extends CSSMathValue {
|
|
2995
|
+
readonly values: CSSNumericArray;
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
declare var CSSMathProduct: {
|
|
2999
|
+
prototype: CSSMathProduct;
|
|
3000
|
+
new(...args: CSSNumberish[]): CSSMathProduct;
|
|
3001
|
+
};
|
|
3002
|
+
|
|
3003
|
+
interface CSSMathSum extends CSSMathValue {
|
|
3004
|
+
readonly values: CSSNumericArray;
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
declare var CSSMathSum: {
|
|
3008
|
+
prototype: CSSMathSum;
|
|
3009
|
+
new(...args: CSSNumberish[]): CSSMathSum;
|
|
3010
|
+
};
|
|
3011
|
+
|
|
3012
|
+
interface CSSMathValue extends CSSNumericValue {
|
|
3013
|
+
readonly operator: CSSMathOperator;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
declare var CSSMathValue: {
|
|
3017
|
+
prototype: CSSMathValue;
|
|
3018
|
+
new(): CSSMathValue;
|
|
3019
|
+
};
|
|
3020
|
+
|
|
3021
|
+
interface CSSMatrixComponent extends CSSTransformComponent {
|
|
3022
|
+
matrix: DOMMatrix;
|
|
3023
|
+
}
|
|
3024
|
+
|
|
3025
|
+
declare var CSSMatrixComponent: {
|
|
3026
|
+
prototype: CSSMatrixComponent;
|
|
3027
|
+
new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;
|
|
3028
|
+
};
|
|
3029
|
+
|
|
2792
3030
|
/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */
|
|
2793
3031
|
interface CSSMediaRule extends CSSConditionRule {
|
|
2794
3032
|
readonly media: MediaList;
|
|
@@ -2810,6 +3048,36 @@ declare var CSSNamespaceRule: {
|
|
|
2810
3048
|
new(): CSSNamespaceRule;
|
|
2811
3049
|
};
|
|
2812
3050
|
|
|
3051
|
+
interface CSSNumericArray {
|
|
3052
|
+
readonly length: number;
|
|
3053
|
+
forEach(callbackfn: (value: CSSNumericValue, key: number, parent: CSSNumericArray) => void, thisArg?: any): void;
|
|
3054
|
+
[index: number]: CSSNumericValue;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
declare var CSSNumericArray: {
|
|
3058
|
+
prototype: CSSNumericArray;
|
|
3059
|
+
new(): CSSNumericArray;
|
|
3060
|
+
};
|
|
3061
|
+
|
|
3062
|
+
interface CSSNumericValue extends CSSStyleValue {
|
|
3063
|
+
add(...values: CSSNumberish[]): CSSNumericValue;
|
|
3064
|
+
div(...values: CSSNumberish[]): CSSNumericValue;
|
|
3065
|
+
equals(...value: CSSNumberish[]): boolean;
|
|
3066
|
+
max(...values: CSSNumberish[]): CSSNumericValue;
|
|
3067
|
+
min(...values: CSSNumberish[]): CSSNumericValue;
|
|
3068
|
+
mul(...values: CSSNumberish[]): CSSNumericValue;
|
|
3069
|
+
sub(...values: CSSNumberish[]): CSSNumericValue;
|
|
3070
|
+
to(unit: string): CSSUnitValue;
|
|
3071
|
+
toSum(...units: string[]): CSSMathSum;
|
|
3072
|
+
type(): CSSNumericType;
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
declare var CSSNumericValue: {
|
|
3076
|
+
prototype: CSSNumericValue;
|
|
3077
|
+
new(): CSSNumericValue;
|
|
3078
|
+
parse(cssText: string): CSSNumericValue;
|
|
3079
|
+
};
|
|
3080
|
+
|
|
2813
3081
|
/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */
|
|
2814
3082
|
interface CSSPageRule extends CSSGroupingRule {
|
|
2815
3083
|
selectorText: string;
|
|
@@ -2821,6 +3089,40 @@ declare var CSSPageRule: {
|
|
|
2821
3089
|
new(): CSSPageRule;
|
|
2822
3090
|
};
|
|
2823
3091
|
|
|
3092
|
+
interface CSSPerspective extends CSSTransformComponent {
|
|
3093
|
+
length: CSSPerspectiveValue;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
declare var CSSPerspective: {
|
|
3097
|
+
prototype: CSSPerspective;
|
|
3098
|
+
new(length: CSSPerspectiveValue): CSSPerspective;
|
|
3099
|
+
};
|
|
3100
|
+
|
|
3101
|
+
interface CSSPropertyRule extends CSSRule {
|
|
3102
|
+
readonly inherits: boolean;
|
|
3103
|
+
readonly initialValue: string | null;
|
|
3104
|
+
readonly name: string;
|
|
3105
|
+
readonly syntax: string;
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
declare var CSSPropertyRule: {
|
|
3109
|
+
prototype: CSSPropertyRule;
|
|
3110
|
+
new(): CSSPropertyRule;
|
|
3111
|
+
};
|
|
3112
|
+
|
|
3113
|
+
interface CSSRotate extends CSSTransformComponent {
|
|
3114
|
+
angle: CSSNumericValue;
|
|
3115
|
+
x: CSSNumberish;
|
|
3116
|
+
y: CSSNumberish;
|
|
3117
|
+
z: CSSNumberish;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
declare var CSSRotate: {
|
|
3121
|
+
prototype: CSSRotate;
|
|
3122
|
+
new(angle: CSSNumericValue): CSSRotate;
|
|
3123
|
+
new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;
|
|
3124
|
+
};
|
|
3125
|
+
|
|
2824
3126
|
/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */
|
|
2825
3127
|
interface CSSRule {
|
|
2826
3128
|
cssText: string;
|
|
@@ -2867,6 +3169,45 @@ declare var CSSRuleList: {
|
|
|
2867
3169
|
new(): CSSRuleList;
|
|
2868
3170
|
};
|
|
2869
3171
|
|
|
3172
|
+
interface CSSScale extends CSSTransformComponent {
|
|
3173
|
+
x: CSSNumberish;
|
|
3174
|
+
y: CSSNumberish;
|
|
3175
|
+
z: CSSNumberish;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
declare var CSSScale: {
|
|
3179
|
+
prototype: CSSScale;
|
|
3180
|
+
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
|
|
3181
|
+
};
|
|
3182
|
+
|
|
3183
|
+
interface CSSSkew extends CSSTransformComponent {
|
|
3184
|
+
ax: CSSNumericValue;
|
|
3185
|
+
ay: CSSNumericValue;
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
declare var CSSSkew: {
|
|
3189
|
+
prototype: CSSSkew;
|
|
3190
|
+
new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
interface CSSSkewX extends CSSTransformComponent {
|
|
3194
|
+
ax: CSSNumericValue;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
declare var CSSSkewX: {
|
|
3198
|
+
prototype: CSSSkewX;
|
|
3199
|
+
new(ax: CSSNumericValue): CSSSkewX;
|
|
3200
|
+
};
|
|
3201
|
+
|
|
3202
|
+
interface CSSSkewY extends CSSTransformComponent {
|
|
3203
|
+
ay: CSSNumericValue;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
declare var CSSSkewY: {
|
|
3207
|
+
prototype: CSSSkewY;
|
|
3208
|
+
new(ay: CSSNumericValue): CSSSkewY;
|
|
3209
|
+
};
|
|
3210
|
+
|
|
2870
3211
|
/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */
|
|
2871
3212
|
interface CSSStyleDeclaration {
|
|
2872
3213
|
accentColor: string;
|
|
@@ -3035,6 +3376,9 @@ interface CSSStyleDeclaration {
|
|
|
3035
3376
|
fontStretch: string;
|
|
3036
3377
|
fontStyle: string;
|
|
3037
3378
|
fontSynthesis: string;
|
|
3379
|
+
fontSynthesisSmallCaps: string;
|
|
3380
|
+
fontSynthesisStyle: string;
|
|
3381
|
+
fontSynthesisWeight: string;
|
|
3038
3382
|
fontVariant: string;
|
|
3039
3383
|
fontVariantAlternates: string;
|
|
3040
3384
|
fontVariantCaps: string;
|
|
@@ -3427,6 +3771,7 @@ declare var CSSStyleDeclaration: {
|
|
|
3427
3771
|
interface CSSStyleRule extends CSSRule {
|
|
3428
3772
|
selectorText: string;
|
|
3429
3773
|
readonly style: CSSStyleDeclaration;
|
|
3774
|
+
readonly styleMap: StylePropertyMap;
|
|
3430
3775
|
}
|
|
3431
3776
|
|
|
3432
3777
|
declare var CSSStyleRule: {
|
|
@@ -3455,6 +3800,17 @@ declare var CSSStyleSheet: {
|
|
|
3455
3800
|
new(options?: CSSStyleSheetInit): CSSStyleSheet;
|
|
3456
3801
|
};
|
|
3457
3802
|
|
|
3803
|
+
interface CSSStyleValue {
|
|
3804
|
+
toString(): string;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
declare var CSSStyleValue: {
|
|
3808
|
+
prototype: CSSStyleValue;
|
|
3809
|
+
new(): CSSStyleValue;
|
|
3810
|
+
parse(property: string, cssText: string): CSSStyleValue;
|
|
3811
|
+
parseAll(property: string, cssText: string): CSSStyleValue[];
|
|
3812
|
+
};
|
|
3813
|
+
|
|
3458
3814
|
/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */
|
|
3459
3815
|
interface CSSSupportsRule extends CSSConditionRule {
|
|
3460
3816
|
}
|
|
@@ -3464,6 +3820,30 @@ declare var CSSSupportsRule: {
|
|
|
3464
3820
|
new(): CSSSupportsRule;
|
|
3465
3821
|
};
|
|
3466
3822
|
|
|
3823
|
+
interface CSSTransformComponent {
|
|
3824
|
+
is2D: boolean;
|
|
3825
|
+
toMatrix(): DOMMatrix;
|
|
3826
|
+
toString(): string;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
declare var CSSTransformComponent: {
|
|
3830
|
+
prototype: CSSTransformComponent;
|
|
3831
|
+
new(): CSSTransformComponent;
|
|
3832
|
+
};
|
|
3833
|
+
|
|
3834
|
+
interface CSSTransformValue extends CSSStyleValue {
|
|
3835
|
+
readonly is2D: boolean;
|
|
3836
|
+
readonly length: number;
|
|
3837
|
+
toMatrix(): DOMMatrix;
|
|
3838
|
+
forEach(callbackfn: (value: CSSTransformComponent, key: number, parent: CSSTransformValue) => void, thisArg?: any): void;
|
|
3839
|
+
[index: number]: CSSTransformComponent;
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
declare var CSSTransformValue: {
|
|
3843
|
+
prototype: CSSTransformValue;
|
|
3844
|
+
new(transforms: CSSTransformComponent[]): CSSTransformValue;
|
|
3845
|
+
};
|
|
3846
|
+
|
|
3467
3847
|
interface CSSTransition extends Animation {
|
|
3468
3848
|
readonly transitionProperty: string;
|
|
3469
3849
|
addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3477,6 +3857,48 @@ declare var CSSTransition: {
|
|
|
3477
3857
|
new(): CSSTransition;
|
|
3478
3858
|
};
|
|
3479
3859
|
|
|
3860
|
+
interface CSSTranslate extends CSSTransformComponent {
|
|
3861
|
+
x: CSSNumericValue;
|
|
3862
|
+
y: CSSNumericValue;
|
|
3863
|
+
z: CSSNumericValue;
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
declare var CSSTranslate: {
|
|
3867
|
+
prototype: CSSTranslate;
|
|
3868
|
+
new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;
|
|
3869
|
+
};
|
|
3870
|
+
|
|
3871
|
+
interface CSSUnitValue extends CSSNumericValue {
|
|
3872
|
+
readonly unit: string;
|
|
3873
|
+
value: number;
|
|
3874
|
+
}
|
|
3875
|
+
|
|
3876
|
+
declare var CSSUnitValue: {
|
|
3877
|
+
prototype: CSSUnitValue;
|
|
3878
|
+
new(value: number, unit: string): CSSUnitValue;
|
|
3879
|
+
};
|
|
3880
|
+
|
|
3881
|
+
interface CSSUnparsedValue extends CSSStyleValue {
|
|
3882
|
+
readonly length: number;
|
|
3883
|
+
forEach(callbackfn: (value: CSSUnparsedSegment, key: number, parent: CSSUnparsedValue) => void, thisArg?: any): void;
|
|
3884
|
+
[index: number]: CSSUnparsedSegment;
|
|
3885
|
+
}
|
|
3886
|
+
|
|
3887
|
+
declare var CSSUnparsedValue: {
|
|
3888
|
+
prototype: CSSUnparsedValue;
|
|
3889
|
+
new(members: CSSUnparsedSegment[]): CSSUnparsedValue;
|
|
3890
|
+
};
|
|
3891
|
+
|
|
3892
|
+
interface CSSVariableReferenceValue {
|
|
3893
|
+
readonly fallback: CSSUnparsedValue | null;
|
|
3894
|
+
variable: string;
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
declare var CSSVariableReferenceValue: {
|
|
3898
|
+
prototype: CSSVariableReferenceValue;
|
|
3899
|
+
new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
|
|
3900
|
+
};
|
|
3901
|
+
|
|
3480
3902
|
/**
|
|
3481
3903
|
* Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.
|
|
3482
3904
|
* Available only in secure contexts.
|
|
@@ -3819,6 +4241,14 @@ declare var CompositionEvent: {
|
|
|
3819
4241
|
new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;
|
|
3820
4242
|
};
|
|
3821
4243
|
|
|
4244
|
+
interface CompressionStream extends GenericTransformStream {
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
declare var CompressionStream: {
|
|
4248
|
+
prototype: CompressionStream;
|
|
4249
|
+
new(format: string): CompressionStream;
|
|
4250
|
+
};
|
|
4251
|
+
|
|
3822
4252
|
interface ConstantSourceNode extends AudioScheduledSourceNode {
|
|
3823
4253
|
readonly offset: AudioParam;
|
|
3824
4254
|
addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4112,7 +4542,6 @@ declare var DOMMatrixReadOnly: {
|
|
|
4112
4542
|
fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
|
|
4113
4543
|
fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
|
|
4114
4544
|
fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
|
|
4115
|
-
toString(): string;
|
|
4116
4545
|
};
|
|
4117
4546
|
|
|
4118
4547
|
/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */
|
|
@@ -4394,6 +4823,14 @@ declare var DataTransferItemList: {
|
|
|
4394
4823
|
new(): DataTransferItemList;
|
|
4395
4824
|
};
|
|
4396
4825
|
|
|
4826
|
+
interface DecompressionStream extends GenericTransformStream {
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4829
|
+
declare var DecompressionStream: {
|
|
4830
|
+
prototype: DecompressionStream;
|
|
4831
|
+
new(format: string): DecompressionStream;
|
|
4832
|
+
};
|
|
4833
|
+
|
|
4397
4834
|
/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */
|
|
4398
4835
|
interface DelayNode extends AudioNode {
|
|
4399
4836
|
readonly delayTime: AudioParam;
|
|
@@ -5061,6 +5498,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
|
|
|
5061
5498
|
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
5062
5499
|
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
5063
5500
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
5501
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
5064
5502
|
/** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */
|
|
5065
5503
|
getAttribute(qualifiedName: string): string | null;
|
|
5066
5504
|
/** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */
|
|
@@ -5142,6 +5580,7 @@ declare var Element: {
|
|
|
5142
5580
|
};
|
|
5143
5581
|
|
|
5144
5582
|
interface ElementCSSInlineStyle {
|
|
5583
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
5145
5584
|
readonly style: CSSStyleDeclaration;
|
|
5146
5585
|
}
|
|
5147
5586
|
|
|
@@ -5184,6 +5623,19 @@ declare var ElementInternals: {
|
|
|
5184
5623
|
new(): ElementInternals;
|
|
5185
5624
|
};
|
|
5186
5625
|
|
|
5626
|
+
interface EncodedVideoChunk {
|
|
5627
|
+
readonly byteLength: number;
|
|
5628
|
+
readonly duration: number | null;
|
|
5629
|
+
readonly timestamp: number;
|
|
5630
|
+
readonly type: EncodedVideoChunkType;
|
|
5631
|
+
copyTo(destination: BufferSource): void;
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5634
|
+
declare var EncodedVideoChunk: {
|
|
5635
|
+
prototype: EncodedVideoChunk;
|
|
5636
|
+
new(init: EncodedVideoChunkInit): EncodedVideoChunk;
|
|
5637
|
+
};
|
|
5638
|
+
|
|
5187
5639
|
/** Events providing information related to errors in scripts or in files. */
|
|
5188
5640
|
interface ErrorEvent extends Event {
|
|
5189
5641
|
readonly colno: number;
|
|
@@ -5624,6 +6076,7 @@ interface Gamepad {
|
|
|
5624
6076
|
readonly index: number;
|
|
5625
6077
|
readonly mapping: GamepadMappingType;
|
|
5626
6078
|
readonly timestamp: DOMHighResTimeStamp;
|
|
6079
|
+
readonly vibrationActuator: GamepadHapticActuator | null;
|
|
5627
6080
|
}
|
|
5628
6081
|
|
|
5629
6082
|
declare var Gamepad: {
|
|
@@ -5662,6 +6115,8 @@ declare var GamepadEvent: {
|
|
|
5662
6115
|
/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */
|
|
5663
6116
|
interface GamepadHapticActuator {
|
|
5664
6117
|
readonly type: GamepadHapticActuatorType;
|
|
6118
|
+
playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
|
|
6119
|
+
reset(): Promise<GamepadHapticsResult>;
|
|
5665
6120
|
}
|
|
5666
6121
|
|
|
5667
6122
|
declare var GamepadHapticActuator: {
|
|
@@ -6978,6 +7433,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
6978
7433
|
frameBorder: string;
|
|
6979
7434
|
/** Sets or retrieves the height of the object. */
|
|
6980
7435
|
height: string;
|
|
7436
|
+
loading: string;
|
|
6981
7437
|
/**
|
|
6982
7438
|
* Sets or retrieves a URI to a long description of the object.
|
|
6983
7439
|
* @deprecated
|
|
@@ -10142,6 +10598,8 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
|
|
|
10142
10598
|
readonly permissions: Permissions;
|
|
10143
10599
|
/** Available only in secure contexts. */
|
|
10144
10600
|
readonly serviceWorker: ServiceWorkerContainer;
|
|
10601
|
+
readonly userActivation: UserActivation;
|
|
10602
|
+
readonly wakeLock: WakeLock;
|
|
10145
10603
|
/** Available only in secure contexts. */
|
|
10146
10604
|
canShare(data?: ShareData): boolean;
|
|
10147
10605
|
getGamepads(): (Gamepad | null)[];
|
|
@@ -11481,6 +11939,7 @@ declare var RTCIceCandidate: {
|
|
|
11481
11939
|
|
|
11482
11940
|
interface RTCIceTransportEventMap {
|
|
11483
11941
|
"gatheringstatechange": Event;
|
|
11942
|
+
"selectedcandidatepairchange": Event;
|
|
11484
11943
|
"statechange": Event;
|
|
11485
11944
|
}
|
|
11486
11945
|
|
|
@@ -11488,8 +11947,10 @@ interface RTCIceTransportEventMap {
|
|
|
11488
11947
|
interface RTCIceTransport extends EventTarget {
|
|
11489
11948
|
readonly gatheringState: RTCIceGathererState;
|
|
11490
11949
|
ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
11950
|
+
onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
11491
11951
|
onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
|
|
11492
11952
|
readonly state: RTCIceTransportState;
|
|
11953
|
+
getSelectedCandidatePair(): RTCIceCandidatePair | null;
|
|
11493
11954
|
addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11494
11955
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11495
11956
|
removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -11753,7 +12214,6 @@ declare var Range: {
|
|
|
11753
12214
|
readonly START_TO_END: 1;
|
|
11754
12215
|
readonly END_TO_END: 2;
|
|
11755
12216
|
readonly END_TO_START: 3;
|
|
11756
|
-
toString(): string;
|
|
11757
12217
|
};
|
|
11758
12218
|
|
|
11759
12219
|
interface ReadableByteStreamController {
|
|
@@ -11861,6 +12321,38 @@ declare var RemotePlayback: {
|
|
|
11861
12321
|
new(): RemotePlayback;
|
|
11862
12322
|
};
|
|
11863
12323
|
|
|
12324
|
+
interface Report {
|
|
12325
|
+
readonly body: ReportBody | null;
|
|
12326
|
+
readonly type: string;
|
|
12327
|
+
readonly url: string;
|
|
12328
|
+
toJSON(): any;
|
|
12329
|
+
}
|
|
12330
|
+
|
|
12331
|
+
declare var Report: {
|
|
12332
|
+
prototype: Report;
|
|
12333
|
+
new(): Report;
|
|
12334
|
+
};
|
|
12335
|
+
|
|
12336
|
+
interface ReportBody {
|
|
12337
|
+
toJSON(): any;
|
|
12338
|
+
}
|
|
12339
|
+
|
|
12340
|
+
declare var ReportBody: {
|
|
12341
|
+
prototype: ReportBody;
|
|
12342
|
+
new(): ReportBody;
|
|
12343
|
+
};
|
|
12344
|
+
|
|
12345
|
+
interface ReportingObserver {
|
|
12346
|
+
disconnect(): void;
|
|
12347
|
+
observe(): void;
|
|
12348
|
+
takeRecords(): ReportList;
|
|
12349
|
+
}
|
|
12350
|
+
|
|
12351
|
+
declare var ReportingObserver: {
|
|
12352
|
+
prototype: ReportingObserver;
|
|
12353
|
+
new(callback: ReportingObserverCallback, options?: ReportingObserverOptions): ReportingObserver;
|
|
12354
|
+
};
|
|
12355
|
+
|
|
11864
12356
|
/** This Fetch API interface represents a resource request. */
|
|
11865
12357
|
interface Request extends Body {
|
|
11866
12358
|
/** Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching. */
|
|
@@ -13785,7 +14277,6 @@ interface Selection {
|
|
|
13785
14277
|
declare var Selection: {
|
|
13786
14278
|
prototype: Selection;
|
|
13787
14279
|
new(): Selection;
|
|
13788
|
-
toString(): string;
|
|
13789
14280
|
};
|
|
13790
14281
|
|
|
13791
14282
|
interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
|
|
@@ -14200,6 +14691,31 @@ interface StyleMedia {
|
|
|
14200
14691
|
matchMedium(mediaquery: string): boolean;
|
|
14201
14692
|
}
|
|
14202
14693
|
|
|
14694
|
+
interface StylePropertyMap extends StylePropertyMapReadOnly {
|
|
14695
|
+
append(property: string, ...values: (CSSStyleValue | string)[]): void;
|
|
14696
|
+
clear(): void;
|
|
14697
|
+
delete(property: string): void;
|
|
14698
|
+
set(property: string, ...values: (CSSStyleValue | string)[]): void;
|
|
14699
|
+
}
|
|
14700
|
+
|
|
14701
|
+
declare var StylePropertyMap: {
|
|
14702
|
+
prototype: StylePropertyMap;
|
|
14703
|
+
new(): StylePropertyMap;
|
|
14704
|
+
};
|
|
14705
|
+
|
|
14706
|
+
interface StylePropertyMapReadOnly {
|
|
14707
|
+
readonly size: number;
|
|
14708
|
+
get(property: string): undefined | CSSStyleValue;
|
|
14709
|
+
getAll(property: string): CSSStyleValue[];
|
|
14710
|
+
has(property: string): boolean;
|
|
14711
|
+
forEach(callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void, thisArg?: any): void;
|
|
14712
|
+
}
|
|
14713
|
+
|
|
14714
|
+
declare var StylePropertyMapReadOnly: {
|
|
14715
|
+
prototype: StylePropertyMapReadOnly;
|
|
14716
|
+
new(): StylePropertyMapReadOnly;
|
|
14717
|
+
};
|
|
14718
|
+
|
|
14203
14719
|
/** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */
|
|
14204
14720
|
interface StyleSheet {
|
|
14205
14721
|
disabled: boolean;
|
|
@@ -14709,7 +15225,16 @@ interface URLSearchParams {
|
|
|
14709
15225
|
declare var URLSearchParams: {
|
|
14710
15226
|
prototype: URLSearchParams;
|
|
14711
15227
|
new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
|
|
14712
|
-
|
|
15228
|
+
};
|
|
15229
|
+
|
|
15230
|
+
interface UserActivation {
|
|
15231
|
+
readonly hasBeenActive: boolean;
|
|
15232
|
+
readonly isActive: boolean;
|
|
15233
|
+
}
|
|
15234
|
+
|
|
15235
|
+
declare var UserActivation: {
|
|
15236
|
+
prototype: UserActivation;
|
|
15237
|
+
new(): UserActivation;
|
|
14713
15238
|
};
|
|
14714
15239
|
|
|
14715
15240
|
interface VTTCue extends TextTrackCue {
|
|
@@ -14784,6 +15309,81 @@ declare var VideoColorSpace: {
|
|
|
14784
15309
|
new(init?: VideoColorSpaceInit): VideoColorSpace;
|
|
14785
15310
|
};
|
|
14786
15311
|
|
|
15312
|
+
interface VideoDecoderEventMap {
|
|
15313
|
+
"dequeue": Event;
|
|
15314
|
+
}
|
|
15315
|
+
|
|
15316
|
+
/** Available only in secure contexts. */
|
|
15317
|
+
interface VideoDecoder extends EventTarget {
|
|
15318
|
+
readonly decodeQueueSize: number;
|
|
15319
|
+
ondequeue: ((this: VideoDecoder, ev: Event) => any) | null;
|
|
15320
|
+
readonly state: CodecState;
|
|
15321
|
+
close(): void;
|
|
15322
|
+
configure(config: VideoDecoderConfig): void;
|
|
15323
|
+
decode(chunk: EncodedVideoChunk): void;
|
|
15324
|
+
flush(): Promise<void>;
|
|
15325
|
+
reset(): void;
|
|
15326
|
+
addEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15327
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
15328
|
+
removeEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
15329
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
15330
|
+
}
|
|
15331
|
+
|
|
15332
|
+
declare var VideoDecoder: {
|
|
15333
|
+
prototype: VideoDecoder;
|
|
15334
|
+
new(init: VideoDecoderInit): VideoDecoder;
|
|
15335
|
+
isConfigSupported(config: VideoDecoderConfig): Promise<VideoDecoderSupport>;
|
|
15336
|
+
};
|
|
15337
|
+
|
|
15338
|
+
interface VideoEncoderEventMap {
|
|
15339
|
+
"dequeue": Event;
|
|
15340
|
+
}
|
|
15341
|
+
|
|
15342
|
+
/** Available only in secure contexts. */
|
|
15343
|
+
interface VideoEncoder extends EventTarget {
|
|
15344
|
+
readonly encodeQueueSize: number;
|
|
15345
|
+
ondequeue: ((this: VideoEncoder, ev: Event) => any) | null;
|
|
15346
|
+
readonly state: CodecState;
|
|
15347
|
+
close(): void;
|
|
15348
|
+
configure(config: VideoEncoderConfig): void;
|
|
15349
|
+
encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void;
|
|
15350
|
+
flush(): Promise<void>;
|
|
15351
|
+
reset(): void;
|
|
15352
|
+
addEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15353
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
15354
|
+
removeEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
15355
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
15356
|
+
}
|
|
15357
|
+
|
|
15358
|
+
declare var VideoEncoder: {
|
|
15359
|
+
prototype: VideoEncoder;
|
|
15360
|
+
new(init: VideoEncoderInit): VideoEncoder;
|
|
15361
|
+
isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;
|
|
15362
|
+
};
|
|
15363
|
+
|
|
15364
|
+
interface VideoFrame {
|
|
15365
|
+
readonly codedHeight: number;
|
|
15366
|
+
readonly codedRect: DOMRectReadOnly | null;
|
|
15367
|
+
readonly codedWidth: number;
|
|
15368
|
+
readonly colorSpace: VideoColorSpace;
|
|
15369
|
+
readonly displayHeight: number;
|
|
15370
|
+
readonly displayWidth: number;
|
|
15371
|
+
readonly duration: number | null;
|
|
15372
|
+
readonly format: VideoPixelFormat | null;
|
|
15373
|
+
readonly timestamp: number;
|
|
15374
|
+
readonly visibleRect: DOMRectReadOnly | null;
|
|
15375
|
+
allocationSize(options?: VideoFrameCopyToOptions): number;
|
|
15376
|
+
clone(): VideoFrame;
|
|
15377
|
+
close(): void;
|
|
15378
|
+
copyTo(destination: BufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;
|
|
15379
|
+
}
|
|
15380
|
+
|
|
15381
|
+
declare var VideoFrame: {
|
|
15382
|
+
prototype: VideoFrame;
|
|
15383
|
+
new(image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
|
|
15384
|
+
new(data: BufferSource, init: VideoFrameBufferInit): VideoFrame;
|
|
15385
|
+
};
|
|
15386
|
+
|
|
14787
15387
|
/** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */
|
|
14788
15388
|
interface VideoPlaybackQuality {
|
|
14789
15389
|
/** @deprecated */
|
|
@@ -14966,6 +15566,37 @@ interface WEBGL_multi_draw {
|
|
|
14966
15566
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14967
15567
|
}
|
|
14968
15568
|
|
|
15569
|
+
/** Available only in secure contexts. */
|
|
15570
|
+
interface WakeLock {
|
|
15571
|
+
request(type?: WakeLockType): Promise<WakeLockSentinel>;
|
|
15572
|
+
}
|
|
15573
|
+
|
|
15574
|
+
declare var WakeLock: {
|
|
15575
|
+
prototype: WakeLock;
|
|
15576
|
+
new(): WakeLock;
|
|
15577
|
+
};
|
|
15578
|
+
|
|
15579
|
+
interface WakeLockSentinelEventMap {
|
|
15580
|
+
"release": Event;
|
|
15581
|
+
}
|
|
15582
|
+
|
|
15583
|
+
/** Available only in secure contexts. */
|
|
15584
|
+
interface WakeLockSentinel extends EventTarget {
|
|
15585
|
+
onrelease: ((this: WakeLockSentinel, ev: Event) => any) | null;
|
|
15586
|
+
readonly released: boolean;
|
|
15587
|
+
readonly type: WakeLockType;
|
|
15588
|
+
release(): Promise<void>;
|
|
15589
|
+
addEventListener<K extends keyof WakeLockSentinelEventMap>(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
15590
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
15591
|
+
removeEventListener<K extends keyof WakeLockSentinelEventMap>(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
15592
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
15593
|
+
}
|
|
15594
|
+
|
|
15595
|
+
declare var WakeLockSentinel: {
|
|
15596
|
+
prototype: WakeLockSentinel;
|
|
15597
|
+
new(): WakeLockSentinel;
|
|
15598
|
+
};
|
|
15599
|
+
|
|
14969
15600
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
14970
15601
|
interface WaveShaperNode extends AudioNode {
|
|
14971
15602
|
curve: Float32Array | null;
|
|
@@ -16314,6 +16945,7 @@ declare var WebGLRenderingContext: {
|
|
|
16314
16945
|
|
|
16315
16946
|
interface WebGLRenderingContextBase {
|
|
16316
16947
|
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
16948
|
+
drawingBufferColorSpace: PredefinedColorSpace;
|
|
16317
16949
|
readonly drawingBufferHeight: GLsizei;
|
|
16318
16950
|
readonly drawingBufferWidth: GLsizei;
|
|
16319
16951
|
activeTexture(texture: GLenum): void;
|
|
@@ -17513,9 +18145,64 @@ declare var console: Console;
|
|
|
17513
18145
|
|
|
17514
18146
|
/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
|
|
17515
18147
|
declare namespace CSS {
|
|
18148
|
+
function Hz(value: number): CSSUnitValue;
|
|
18149
|
+
function Q(value: number): CSSUnitValue;
|
|
18150
|
+
function ch(value: number): CSSUnitValue;
|
|
18151
|
+
function cm(value: number): CSSUnitValue;
|
|
18152
|
+
function cqb(value: number): CSSUnitValue;
|
|
18153
|
+
function cqh(value: number): CSSUnitValue;
|
|
18154
|
+
function cqi(value: number): CSSUnitValue;
|
|
18155
|
+
function cqmax(value: number): CSSUnitValue;
|
|
18156
|
+
function cqmin(value: number): CSSUnitValue;
|
|
18157
|
+
function cqw(value: number): CSSUnitValue;
|
|
18158
|
+
function deg(value: number): CSSUnitValue;
|
|
18159
|
+
function dpcm(value: number): CSSUnitValue;
|
|
18160
|
+
function dpi(value: number): CSSUnitValue;
|
|
18161
|
+
function dppx(value: number): CSSUnitValue;
|
|
18162
|
+
function dvb(value: number): CSSUnitValue;
|
|
18163
|
+
function dvh(value: number): CSSUnitValue;
|
|
18164
|
+
function dvi(value: number): CSSUnitValue;
|
|
18165
|
+
function dvmax(value: number): CSSUnitValue;
|
|
18166
|
+
function dvmin(value: number): CSSUnitValue;
|
|
18167
|
+
function dvw(value: number): CSSUnitValue;
|
|
18168
|
+
function em(value: number): CSSUnitValue;
|
|
17516
18169
|
function escape(ident: string): string;
|
|
18170
|
+
function ex(value: number): CSSUnitValue;
|
|
18171
|
+
function fr(value: number): CSSUnitValue;
|
|
18172
|
+
function grad(value: number): CSSUnitValue;
|
|
18173
|
+
function kHz(value: number): CSSUnitValue;
|
|
18174
|
+
function lvb(value: number): CSSUnitValue;
|
|
18175
|
+
function lvh(value: number): CSSUnitValue;
|
|
18176
|
+
function lvi(value: number): CSSUnitValue;
|
|
18177
|
+
function lvmax(value: number): CSSUnitValue;
|
|
18178
|
+
function lvmin(value: number): CSSUnitValue;
|
|
18179
|
+
function lvw(value: number): CSSUnitValue;
|
|
18180
|
+
function mm(value: number): CSSUnitValue;
|
|
18181
|
+
function ms(value: number): CSSUnitValue;
|
|
18182
|
+
function number(value: number): CSSUnitValue;
|
|
18183
|
+
function pc(value: number): CSSUnitValue;
|
|
18184
|
+
function percent(value: number): CSSUnitValue;
|
|
18185
|
+
function pt(value: number): CSSUnitValue;
|
|
18186
|
+
function px(value: number): CSSUnitValue;
|
|
18187
|
+
function rad(value: number): CSSUnitValue;
|
|
18188
|
+
function registerProperty(definition: PropertyDefinition): void;
|
|
18189
|
+
function rem(value: number): CSSUnitValue;
|
|
18190
|
+
function s(value: number): CSSUnitValue;
|
|
17517
18191
|
function supports(property: string, value: string): boolean;
|
|
17518
18192
|
function supports(conditionText: string): boolean;
|
|
18193
|
+
function svb(value: number): CSSUnitValue;
|
|
18194
|
+
function svh(value: number): CSSUnitValue;
|
|
18195
|
+
function svi(value: number): CSSUnitValue;
|
|
18196
|
+
function svmax(value: number): CSSUnitValue;
|
|
18197
|
+
function svmin(value: number): CSSUnitValue;
|
|
18198
|
+
function svw(value: number): CSSUnitValue;
|
|
18199
|
+
function turn(value: number): CSSUnitValue;
|
|
18200
|
+
function vb(value: number): CSSUnitValue;
|
|
18201
|
+
function vh(value: number): CSSUnitValue;
|
|
18202
|
+
function vi(value: number): CSSUnitValue;
|
|
18203
|
+
function vmax(value: number): CSSUnitValue;
|
|
18204
|
+
function vmin(value: number): CSSUnitValue;
|
|
18205
|
+
function vw(value: number): CSSUnitValue;
|
|
17519
18206
|
}
|
|
17520
18207
|
|
|
17521
18208
|
declare namespace WebAssembly {
|
|
@@ -17663,6 +18350,10 @@ interface DecodeSuccessCallback {
|
|
|
17663
18350
|
(decodedData: AudioBuffer): void;
|
|
17664
18351
|
}
|
|
17665
18352
|
|
|
18353
|
+
interface EncodedVideoChunkOutputCallback {
|
|
18354
|
+
(chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void;
|
|
18355
|
+
}
|
|
18356
|
+
|
|
17666
18357
|
interface ErrorCallback {
|
|
17667
18358
|
(err: DOMException): void;
|
|
17668
18359
|
}
|
|
@@ -17747,6 +18438,10 @@ interface RemotePlaybackAvailabilityCallback {
|
|
|
17747
18438
|
(available: boolean): void;
|
|
17748
18439
|
}
|
|
17749
18440
|
|
|
18441
|
+
interface ReportingObserverCallback {
|
|
18442
|
+
(reports: Report[], observer: ReportingObserver): void;
|
|
18443
|
+
}
|
|
18444
|
+
|
|
17750
18445
|
interface ResizeObserverCallback {
|
|
17751
18446
|
(entries: ResizeObserverEntry[], observer: ResizeObserver): void;
|
|
17752
18447
|
}
|
|
@@ -17791,6 +18486,10 @@ interface UnderlyingSourceStartCallback<R> {
|
|
|
17791
18486
|
(controller: ReadableStreamController<R>): any;
|
|
17792
18487
|
}
|
|
17793
18488
|
|
|
18489
|
+
interface VideoFrameOutputCallback {
|
|
18490
|
+
(output: VideoFrame): void;
|
|
18491
|
+
}
|
|
18492
|
+
|
|
17794
18493
|
interface VideoFrameRequestCallback {
|
|
17795
18494
|
(now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
|
|
17796
18495
|
}
|
|
@@ -17799,6 +18498,10 @@ interface VoidFunction {
|
|
|
17799
18498
|
(): void;
|
|
17800
18499
|
}
|
|
17801
18500
|
|
|
18501
|
+
interface WebCodecsErrorCallback {
|
|
18502
|
+
(error: DOMException): void;
|
|
18503
|
+
}
|
|
18504
|
+
|
|
17802
18505
|
interface HTMLElementTagNameMap {
|
|
17803
18506
|
"a": HTMLAnchorElement;
|
|
17804
18507
|
"abbr": HTMLElement;
|
|
@@ -18504,8 +19207,11 @@ type BlobPart = BufferSource | Blob | string;
|
|
|
18504
19207
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
18505
19208
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
18506
19209
|
type COSEAlgorithmIdentifier = number;
|
|
18507
|
-
type
|
|
18508
|
-
type
|
|
19210
|
+
type CSSKeywordish = string | CSSKeywordValue;
|
|
19211
|
+
type CSSNumberish = number | CSSNumericValue;
|
|
19212
|
+
type CSSPerspectiveValue = CSSNumericValue | CSSKeywordish;
|
|
19213
|
+
type CSSUnparsedSegment = string | CSSVariableReferenceValue;
|
|
19214
|
+
type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas | VideoFrame;
|
|
18509
19215
|
type ClipboardItemData = Promise<string | Blob>;
|
|
18510
19216
|
type ClipboardItems = ClipboardItem[];
|
|
18511
19217
|
type ConstrainBoolean = boolean | ConstrainBooleanParameters;
|
|
@@ -18549,15 +19255,17 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
|
|
|
18549
19255
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
18550
19256
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
18551
19257
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
19258
|
+
type ReportList = Report[];
|
|
18552
19259
|
type RequestInfo = Request | string;
|
|
18553
|
-
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;
|
|
19260
|
+
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
18554
19261
|
type TimerHandler = string | Function;
|
|
18555
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
19262
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
|
|
18556
19263
|
type Uint32List = Uint32Array | GLuint[];
|
|
18557
19264
|
type VibratePattern = number | number[];
|
|
18558
19265
|
type WindowProxy = Window;
|
|
18559
19266
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
18560
19267
|
type AlignSetting = "center" | "end" | "left" | "right" | "start";
|
|
19268
|
+
type AlphaOption = "discard" | "keep";
|
|
18561
19269
|
type AnimationPlayState = "finished" | "idle" | "paused" | "running";
|
|
18562
19270
|
type AnimationReplaceState = "active" | "persisted" | "removed";
|
|
18563
19271
|
type AppendMode = "segments" | "sequence";
|
|
@@ -18568,8 +19276,12 @@ type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
|
18568
19276
|
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
18569
19277
|
type AutoKeyword = "auto";
|
|
18570
19278
|
type AutomationRate = "a-rate" | "k-rate";
|
|
19279
|
+
type AvcBitstreamFormat = "annexb" | "avc";
|
|
18571
19280
|
type BinaryType = "arraybuffer" | "blob";
|
|
18572
19281
|
type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
|
|
19282
|
+
type BitrateMode = "constant" | "variable";
|
|
19283
|
+
type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
|
|
19284
|
+
type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
|
|
18573
19285
|
type CanPlayTypeResult = "" | "maybe" | "probably";
|
|
18574
19286
|
type CanvasDirection = "inherit" | "ltr" | "rtl";
|
|
18575
19287
|
type CanvasFillRule = "evenodd" | "nonzero";
|
|
@@ -18584,6 +19296,7 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
|
|
|
18584
19296
|
type ChannelCountMode = "clamped-max" | "explicit" | "max";
|
|
18585
19297
|
type ChannelInterpretation = "discrete" | "speakers";
|
|
18586
19298
|
type ClientTypes = "all" | "sharedworker" | "window" | "worker";
|
|
19299
|
+
type CodecState = "closed" | "configured" | "unconfigured";
|
|
18587
19300
|
type ColorGamut = "p3" | "rec2020" | "srgb";
|
|
18588
19301
|
type ColorSpaceConversion = "default" | "none";
|
|
18589
19302
|
type CompositeOperation = "accumulate" | "add" | "replace";
|
|
@@ -18595,6 +19308,7 @@ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
|
18595
19308
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
18596
19309
|
type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
18597
19310
|
type DocumentVisibilityState = "hidden" | "visible";
|
|
19311
|
+
type EncodedVideoChunkType = "delta" | "key";
|
|
18598
19312
|
type EndOfStreamError = "decode" | "network";
|
|
18599
19313
|
type EndingType = "native" | "transparent";
|
|
18600
19314
|
type FileSystemHandleKind = "directory" | "file";
|
|
@@ -18604,8 +19318,11 @@ type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
|
18604
19318
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
18605
19319
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
18606
19320
|
type GamepadHapticActuatorType = "vibration";
|
|
19321
|
+
type GamepadHapticEffectType = "dual-rumble";
|
|
19322
|
+
type GamepadHapticsResult = "complete" | "preempted";
|
|
18607
19323
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
18608
19324
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
19325
|
+
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
18609
19326
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
18610
19327
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
18611
19328
|
type IDBRequestReadyState = "done" | "pending";
|
|
@@ -18618,6 +19335,7 @@ type IterationCompositeOperation = "accumulate" | "replace";
|
|
|
18618
19335
|
type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
|
|
18619
19336
|
type KeyType = "private" | "public" | "secret";
|
|
18620
19337
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
19338
|
+
type LatencyMode = "quality" | "realtime";
|
|
18621
19339
|
type LineAlignSetting = "center" | "end" | "start";
|
|
18622
19340
|
type LockMode = "exclusive" | "shared";
|
|
18623
19341
|
type MIDIPortConnectionState = "closed" | "open" | "pending";
|
|
@@ -18711,7 +19429,9 @@ type UserVerificationRequirement = "discouraged" | "preferred" | "required";
|
|
|
18711
19429
|
type VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";
|
|
18712
19430
|
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
|
|
18713
19431
|
type VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";
|
|
19432
|
+
type VideoPixelFormat = "BGRA" | "BGRX" | "I420" | "I420A" | "I422" | "I444" | "NV12" | "RGBA" | "RGBX";
|
|
18714
19433
|
type VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";
|
|
19434
|
+
type WakeLockType = "screen";
|
|
18715
19435
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
18716
19436
|
type WorkerType = "classic" | "module";
|
|
18717
19437
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
package/iterable.d.ts
CHANGED
|
@@ -18,6 +18,13 @@ interface CSSKeyframesRule {
|
|
|
18
18
|
[Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
interface CSSNumericArray {
|
|
22
|
+
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
|
|
23
|
+
entries(): IterableIterator<[number, CSSNumericValue]>;
|
|
24
|
+
keys(): IterableIterator<number>;
|
|
25
|
+
values(): IterableIterator<CSSNumericValue>;
|
|
26
|
+
}
|
|
27
|
+
|
|
21
28
|
interface CSSRuleList {
|
|
22
29
|
[Symbol.iterator](): IterableIterator<CSSRule>;
|
|
23
30
|
}
|
|
@@ -26,6 +33,20 @@ interface CSSStyleDeclaration {
|
|
|
26
33
|
[Symbol.iterator](): IterableIterator<string>;
|
|
27
34
|
}
|
|
28
35
|
|
|
36
|
+
interface CSSTransformValue {
|
|
37
|
+
[Symbol.iterator](): IterableIterator<CSSTransformComponent>;
|
|
38
|
+
entries(): IterableIterator<[number, CSSTransformComponent]>;
|
|
39
|
+
keys(): IterableIterator<number>;
|
|
40
|
+
values(): IterableIterator<CSSTransformComponent>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface CSSUnparsedValue {
|
|
44
|
+
[Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
|
|
45
|
+
entries(): IterableIterator<[number, CSSUnparsedSegment]>;
|
|
46
|
+
keys(): IterableIterator<number>;
|
|
47
|
+
values(): IterableIterator<CSSUnparsedSegment>;
|
|
48
|
+
}
|
|
49
|
+
|
|
29
50
|
interface Cache {
|
|
30
51
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
31
52
|
}
|
|
@@ -228,6 +249,13 @@ interface SpeechRecognitionResultList {
|
|
|
228
249
|
[Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
|
|
229
250
|
}
|
|
230
251
|
|
|
252
|
+
interface StylePropertyMapReadOnly {
|
|
253
|
+
[Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
254
|
+
entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
|
|
255
|
+
keys(): IterableIterator<string>;
|
|
256
|
+
values(): IterableIterator<Iterable<CSSStyleValue>>;
|
|
257
|
+
}
|
|
258
|
+
|
|
231
259
|
interface StyleSheetList {
|
|
232
260
|
[Symbol.iterator](): IterableIterator<CSSStyleSheet>;
|
|
233
261
|
}
|