typescript 5.7.0-dev.20240927 → 5.7.0-dev.20240929
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/lib/_tsc.js +580 -223
- package/lib/lib.dom.d.ts +1115 -219
- package/lib/lib.es2016.intl.d.ts +1 -1
- package/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/lib/lib.es2017.d.ts +3 -2
- package/lib/lib.es2017.sharedmemory.d.ts +2 -2
- package/lib/lib.es2020.bigint.d.ts +1 -1
- package/lib/lib.es2020.intl.d.ts +36 -36
- package/lib/lib.es2020.sharedmemory.d.ts +2 -0
- package/lib/lib.es2020.string.d.ts +2 -0
- package/lib/lib.es2021.intl.d.ts +17 -17
- package/lib/lib.es2021.weakref.d.ts +2 -0
- package/lib/lib.es2022.d.ts +1 -2
- package/lib/lib.es2022.error.d.ts +2 -0
- package/lib/lib.es2022.intl.d.ts +9 -9
- package/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/lib/lib.es2024.collection.d.ts +29 -0
- package/lib/lib.es2024.d.ts +26 -0
- package/lib/lib.es2024.full.d.ts +24 -0
- package/lib/{lib.es2022.sharedmemory.d.ts → lib.es2024.sharedmemory.d.ts} +29 -0
- package/lib/lib.es5.d.ts +1 -1
- package/lib/lib.esnext.collection.d.ts +1 -11
- package/lib/lib.esnext.d.ts +1 -5
- package/lib/lib.webworker.d.ts +311 -34
- package/lib/typescript.d.ts +7 -1
- package/lib/typescript.js +603 -230
- package/package.json +2 -2
- /package/lib/{lib.esnext.object.d.ts → lib.es2024.object.d.ts} +0 -0
- /package/lib/{lib.esnext.promise.d.ts → lib.es2024.promise.d.ts} +0 -0
- /package/lib/{lib.esnext.regexp.d.ts → lib.es2024.regexp.d.ts} +0 -0
- /package/lib/{lib.esnext.string.d.ts → lib.es2024.string.d.ts} +0 -0
package/lib/lib.dom.d.ts
CHANGED
|
@@ -26,6 +26,19 @@ interface AddEventListenerOptions extends EventListenerOptions {
|
|
|
26
26
|
signal?: AbortSignal;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
interface AddressErrors {
|
|
30
|
+
addressLine?: string;
|
|
31
|
+
city?: string;
|
|
32
|
+
country?: string;
|
|
33
|
+
dependentLocality?: string;
|
|
34
|
+
organization?: string;
|
|
35
|
+
phone?: string;
|
|
36
|
+
postalCode?: string;
|
|
37
|
+
recipient?: string;
|
|
38
|
+
region?: string;
|
|
39
|
+
sortingCode?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
29
42
|
interface AesCbcParams extends Algorithm {
|
|
30
43
|
iv: BufferSource;
|
|
31
44
|
}
|
|
@@ -107,6 +120,59 @@ interface AudioContextOptions {
|
|
|
107
120
|
sampleRate?: number;
|
|
108
121
|
}
|
|
109
122
|
|
|
123
|
+
interface AudioDataCopyToOptions {
|
|
124
|
+
format?: AudioSampleFormat;
|
|
125
|
+
frameCount?: number;
|
|
126
|
+
frameOffset?: number;
|
|
127
|
+
planeIndex: number;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
interface AudioDataInit {
|
|
131
|
+
data: BufferSource;
|
|
132
|
+
format: AudioSampleFormat;
|
|
133
|
+
numberOfChannels: number;
|
|
134
|
+
numberOfFrames: number;
|
|
135
|
+
sampleRate: number;
|
|
136
|
+
timestamp: number;
|
|
137
|
+
transfer?: ArrayBuffer[];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface AudioDecoderConfig {
|
|
141
|
+
codec: string;
|
|
142
|
+
description?: BufferSource;
|
|
143
|
+
numberOfChannels: number;
|
|
144
|
+
sampleRate: number;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
interface AudioDecoderInit {
|
|
148
|
+
error: WebCodecsErrorCallback;
|
|
149
|
+
output: AudioDataOutputCallback;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface AudioDecoderSupport {
|
|
153
|
+
config?: AudioDecoderConfig;
|
|
154
|
+
supported?: boolean;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
interface AudioEncoderConfig {
|
|
158
|
+
bitrate?: number;
|
|
159
|
+
bitrateMode?: BitrateMode;
|
|
160
|
+
codec: string;
|
|
161
|
+
numberOfChannels: number;
|
|
162
|
+
opus?: OpusEncoderConfig;
|
|
163
|
+
sampleRate: number;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
interface AudioEncoderInit {
|
|
167
|
+
error: WebCodecsErrorCallback;
|
|
168
|
+
output: EncodedAudioChunkOutputCallback;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
interface AudioEncoderSupport {
|
|
172
|
+
config?: AudioEncoderConfig;
|
|
173
|
+
supported?: boolean;
|
|
174
|
+
}
|
|
175
|
+
|
|
110
176
|
interface AudioNodeOptions {
|
|
111
177
|
channelCount?: number;
|
|
112
178
|
channelCountMode?: ChannelCountMode;
|
|
@@ -137,12 +203,32 @@ interface AuthenticationExtensionsClientInputs {
|
|
|
137
203
|
credProps?: boolean;
|
|
138
204
|
hmacCreateSecret?: boolean;
|
|
139
205
|
minPinLength?: boolean;
|
|
206
|
+
prf?: AuthenticationExtensionsPRFInputs;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
interface AuthenticationExtensionsClientInputsJSON {
|
|
140
210
|
}
|
|
141
211
|
|
|
142
212
|
interface AuthenticationExtensionsClientOutputs {
|
|
143
213
|
appid?: boolean;
|
|
144
214
|
credProps?: CredentialPropertiesOutput;
|
|
145
215
|
hmacCreateSecret?: boolean;
|
|
216
|
+
prf?: AuthenticationExtensionsPRFOutputs;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
interface AuthenticationExtensionsPRFInputs {
|
|
220
|
+
eval?: AuthenticationExtensionsPRFValues;
|
|
221
|
+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
interface AuthenticationExtensionsPRFOutputs {
|
|
225
|
+
enabled?: boolean;
|
|
226
|
+
results?: AuthenticationExtensionsPRFValues;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
interface AuthenticationExtensionsPRFValues {
|
|
230
|
+
first: BufferSource;
|
|
231
|
+
second?: BufferSource;
|
|
146
232
|
}
|
|
147
233
|
|
|
148
234
|
interface AuthenticatorSelectionCriteria {
|
|
@@ -208,6 +294,10 @@ interface CanvasRenderingContext2DSettings {
|
|
|
208
294
|
willReadFrequently?: boolean;
|
|
209
295
|
}
|
|
210
296
|
|
|
297
|
+
interface CaretPositionFromPointOptions {
|
|
298
|
+
shadowRoots?: ShadowRoot[];
|
|
299
|
+
}
|
|
300
|
+
|
|
211
301
|
interface ChannelMergerOptions extends AudioNodeOptions {
|
|
212
302
|
numberOfInputs?: number;
|
|
213
303
|
}
|
|
@@ -468,6 +558,18 @@ interface ElementDefinitionOptions {
|
|
|
468
558
|
extends?: string;
|
|
469
559
|
}
|
|
470
560
|
|
|
561
|
+
interface EncodedAudioChunkInit {
|
|
562
|
+
data: AllowSharedBufferSource;
|
|
563
|
+
duration?: number;
|
|
564
|
+
timestamp: number;
|
|
565
|
+
transfer?: ArrayBuffer[];
|
|
566
|
+
type: EncodedAudioChunkType;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
interface EncodedAudioChunkMetadata {
|
|
570
|
+
decoderConfig?: AudioDecoderConfig;
|
|
571
|
+
}
|
|
572
|
+
|
|
471
573
|
interface EncodedVideoChunkInit {
|
|
472
574
|
data: AllowSharedBufferSource;
|
|
473
575
|
duration?: number;
|
|
@@ -698,16 +800,6 @@ interface InputEventInit extends UIEventInit {
|
|
|
698
800
|
targetRanges?: StaticRange[];
|
|
699
801
|
}
|
|
700
802
|
|
|
701
|
-
interface IntersectionObserverEntryInit {
|
|
702
|
-
boundingClientRect: DOMRectInit;
|
|
703
|
-
intersectionRatio: number;
|
|
704
|
-
intersectionRect: DOMRectInit;
|
|
705
|
-
isIntersecting: boolean;
|
|
706
|
-
rootBounds: DOMRectInit | null;
|
|
707
|
-
target: Element;
|
|
708
|
-
time: DOMHighResTimeStamp;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
803
|
interface IntersectionObserverInit {
|
|
712
804
|
root?: Element | Document | null;
|
|
713
805
|
rootMargin?: string;
|
|
@@ -917,6 +1009,7 @@ interface MediaStreamTrackEventInit extends EventInit {
|
|
|
917
1009
|
interface MediaTrackCapabilities {
|
|
918
1010
|
aspectRatio?: DoubleRange;
|
|
919
1011
|
autoGainControl?: boolean[];
|
|
1012
|
+
backgroundBlur?: boolean[];
|
|
920
1013
|
channelCount?: ULongRange;
|
|
921
1014
|
deviceId?: string;
|
|
922
1015
|
displaySurface?: string;
|
|
@@ -934,6 +1027,7 @@ interface MediaTrackCapabilities {
|
|
|
934
1027
|
interface MediaTrackConstraintSet {
|
|
935
1028
|
aspectRatio?: ConstrainDouble;
|
|
936
1029
|
autoGainControl?: ConstrainBoolean;
|
|
1030
|
+
backgroundBlur?: ConstrainBoolean;
|
|
937
1031
|
channelCount?: ConstrainULong;
|
|
938
1032
|
deviceId?: ConstrainDOMString;
|
|
939
1033
|
displaySurface?: ConstrainDOMString;
|
|
@@ -955,6 +1049,7 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet {
|
|
|
955
1049
|
interface MediaTrackSettings {
|
|
956
1050
|
aspectRatio?: number;
|
|
957
1051
|
autoGainControl?: boolean;
|
|
1052
|
+
backgroundBlur?: boolean;
|
|
958
1053
|
channelCount?: number;
|
|
959
1054
|
deviceId?: string;
|
|
960
1055
|
displaySurface?: string;
|
|
@@ -972,6 +1067,7 @@ interface MediaTrackSettings {
|
|
|
972
1067
|
interface MediaTrackSupportedConstraints {
|
|
973
1068
|
aspectRatio?: boolean;
|
|
974
1069
|
autoGainControl?: boolean;
|
|
1070
|
+
backgroundBlur?: boolean;
|
|
975
1071
|
channelCount?: boolean;
|
|
976
1072
|
deviceId?: boolean;
|
|
977
1073
|
displaySurface?: boolean;
|
|
@@ -1066,6 +1162,15 @@ interface OptionalEffectTiming {
|
|
|
1066
1162
|
playbackRate?: number;
|
|
1067
1163
|
}
|
|
1068
1164
|
|
|
1165
|
+
interface OpusEncoderConfig {
|
|
1166
|
+
complexity?: number;
|
|
1167
|
+
format?: OpusBitstreamFormat;
|
|
1168
|
+
frameDuration?: number;
|
|
1169
|
+
packetlossperc?: number;
|
|
1170
|
+
usedtx?: boolean;
|
|
1171
|
+
useinbandfec?: boolean;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1069
1174
|
interface OscillatorOptions extends AudioNodeOptions {
|
|
1070
1175
|
detune?: number;
|
|
1071
1176
|
frequency?: number;
|
|
@@ -1094,6 +1199,12 @@ interface PannerOptions extends AudioNodeOptions {
|
|
|
1094
1199
|
rolloffFactor?: number;
|
|
1095
1200
|
}
|
|
1096
1201
|
|
|
1202
|
+
interface PayerErrors {
|
|
1203
|
+
email?: string;
|
|
1204
|
+
name?: string;
|
|
1205
|
+
phone?: string;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1097
1208
|
interface PaymentCurrencyAmount {
|
|
1098
1209
|
currency: string;
|
|
1099
1210
|
value: string;
|
|
@@ -1102,6 +1213,7 @@ interface PaymentCurrencyAmount {
|
|
|
1102
1213
|
interface PaymentDetailsBase {
|
|
1103
1214
|
displayItems?: PaymentItem[];
|
|
1104
1215
|
modifiers?: PaymentDetailsModifier[];
|
|
1216
|
+
shippingOptions?: PaymentShippingOption[];
|
|
1105
1217
|
}
|
|
1106
1218
|
|
|
1107
1219
|
interface PaymentDetailsInit extends PaymentDetailsBase {
|
|
@@ -1117,7 +1229,9 @@ interface PaymentDetailsModifier {
|
|
|
1117
1229
|
}
|
|
1118
1230
|
|
|
1119
1231
|
interface PaymentDetailsUpdate extends PaymentDetailsBase {
|
|
1232
|
+
error?: string;
|
|
1120
1233
|
paymentMethodErrors?: any;
|
|
1234
|
+
shippingAddressErrors?: AddressErrors;
|
|
1121
1235
|
total?: PaymentItem;
|
|
1122
1236
|
}
|
|
1123
1237
|
|
|
@@ -1137,12 +1251,28 @@ interface PaymentMethodData {
|
|
|
1137
1251
|
supportedMethods: string;
|
|
1138
1252
|
}
|
|
1139
1253
|
|
|
1254
|
+
interface PaymentOptions {
|
|
1255
|
+
requestPayerEmail?: boolean;
|
|
1256
|
+
requestPayerName?: boolean;
|
|
1257
|
+
requestPayerPhone?: boolean;
|
|
1258
|
+
requestShipping?: boolean;
|
|
1259
|
+
shippingType?: PaymentShippingType;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1140
1262
|
interface PaymentRequestUpdateEventInit extends EventInit {
|
|
1141
1263
|
}
|
|
1142
1264
|
|
|
1265
|
+
interface PaymentShippingOption {
|
|
1266
|
+
amount: PaymentCurrencyAmount;
|
|
1267
|
+
id: string;
|
|
1268
|
+
label: string;
|
|
1269
|
+
selected?: boolean;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1143
1272
|
interface PaymentValidationErrors {
|
|
1144
1273
|
error?: string;
|
|
1145
|
-
|
|
1274
|
+
payer?: PayerErrors;
|
|
1275
|
+
shippingAddress?: AddressErrors;
|
|
1146
1276
|
}
|
|
1147
1277
|
|
|
1148
1278
|
interface Pbkdf2Params extends Algorithm {
|
|
@@ -1192,6 +1322,8 @@ interface PlaneLayout {
|
|
|
1192
1322
|
}
|
|
1193
1323
|
|
|
1194
1324
|
interface PointerEventInit extends MouseEventInit {
|
|
1325
|
+
altitudeAngle?: number;
|
|
1326
|
+
azimuthAngle?: number;
|
|
1195
1327
|
coalescedEvents?: PointerEvent[];
|
|
1196
1328
|
height?: number;
|
|
1197
1329
|
isPrimary?: boolean;
|
|
@@ -1257,12 +1389,31 @@ interface PublicKeyCredentialCreationOptions {
|
|
|
1257
1389
|
user: PublicKeyCredentialUserEntity;
|
|
1258
1390
|
}
|
|
1259
1391
|
|
|
1392
|
+
interface PublicKeyCredentialCreationOptionsJSON {
|
|
1393
|
+
attestation?: string;
|
|
1394
|
+
authenticatorSelection?: AuthenticatorSelectionCriteria;
|
|
1395
|
+
challenge: Base64URLString;
|
|
1396
|
+
excludeCredentials?: PublicKeyCredentialDescriptorJSON[];
|
|
1397
|
+
extensions?: AuthenticationExtensionsClientInputsJSON;
|
|
1398
|
+
hints?: string[];
|
|
1399
|
+
pubKeyCredParams: PublicKeyCredentialParameters[];
|
|
1400
|
+
rp: PublicKeyCredentialRpEntity;
|
|
1401
|
+
timeout?: number;
|
|
1402
|
+
user: PublicKeyCredentialUserEntityJSON;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1260
1405
|
interface PublicKeyCredentialDescriptor {
|
|
1261
1406
|
id: BufferSource;
|
|
1262
1407
|
transports?: AuthenticatorTransport[];
|
|
1263
1408
|
type: PublicKeyCredentialType;
|
|
1264
1409
|
}
|
|
1265
1410
|
|
|
1411
|
+
interface PublicKeyCredentialDescriptorJSON {
|
|
1412
|
+
id: Base64URLString;
|
|
1413
|
+
transports?: string[];
|
|
1414
|
+
type: string;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1266
1417
|
interface PublicKeyCredentialEntity {
|
|
1267
1418
|
name: string;
|
|
1268
1419
|
}
|
|
@@ -1281,6 +1432,16 @@ interface PublicKeyCredentialRequestOptions {
|
|
|
1281
1432
|
userVerification?: UserVerificationRequirement;
|
|
1282
1433
|
}
|
|
1283
1434
|
|
|
1435
|
+
interface PublicKeyCredentialRequestOptionsJSON {
|
|
1436
|
+
allowCredentials?: PublicKeyCredentialDescriptorJSON[];
|
|
1437
|
+
challenge: Base64URLString;
|
|
1438
|
+
extensions?: AuthenticationExtensionsClientInputsJSON;
|
|
1439
|
+
hints?: string[];
|
|
1440
|
+
rpId?: string;
|
|
1441
|
+
timeout?: number;
|
|
1442
|
+
userVerification?: string;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1284
1445
|
interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {
|
|
1285
1446
|
id?: string;
|
|
1286
1447
|
}
|
|
@@ -1290,6 +1451,12 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
|
|
|
1290
1451
|
id: BufferSource;
|
|
1291
1452
|
}
|
|
1292
1453
|
|
|
1454
|
+
interface PublicKeyCredentialUserEntityJSON {
|
|
1455
|
+
displayName: string;
|
|
1456
|
+
id: Base64URLString;
|
|
1457
|
+
name: string;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1293
1460
|
interface PushSubscriptionJSON {
|
|
1294
1461
|
endpoint?: string;
|
|
1295
1462
|
expirationTime?: EpochTimeStamp | null;
|
|
@@ -2012,6 +2179,7 @@ interface VideoConfiguration {
|
|
|
2012
2179
|
colorGamut?: ColorGamut;
|
|
2013
2180
|
contentType: string;
|
|
2014
2181
|
framerate: number;
|
|
2182
|
+
hasAlphaChannel?: boolean;
|
|
2015
2183
|
hdrMetadataType?: HdrMetadataType;
|
|
2016
2184
|
height: number;
|
|
2017
2185
|
scalabilityMode?: string;
|
|
@@ -2047,6 +2215,7 @@ interface VideoEncoderConfig {
|
|
|
2047
2215
|
bitrate?: number;
|
|
2048
2216
|
bitrateMode?: VideoEncoderBitrateMode;
|
|
2049
2217
|
codec: string;
|
|
2218
|
+
contentHint?: string;
|
|
2050
2219
|
displayHeight?: number;
|
|
2051
2220
|
displayWidth?: number;
|
|
2052
2221
|
framerate?: number;
|
|
@@ -2058,9 +2227,14 @@ interface VideoEncoderConfig {
|
|
|
2058
2227
|
}
|
|
2059
2228
|
|
|
2060
2229
|
interface VideoEncoderEncodeOptions {
|
|
2230
|
+
avc?: VideoEncoderEncodeOptionsForAvc;
|
|
2061
2231
|
keyFrame?: boolean;
|
|
2062
2232
|
}
|
|
2063
2233
|
|
|
2234
|
+
interface VideoEncoderEncodeOptionsForAvc {
|
|
2235
|
+
quantizer?: number | null;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2064
2238
|
interface VideoEncoderInit {
|
|
2065
2239
|
error: WebCodecsErrorCallback;
|
|
2066
2240
|
output: EncodedVideoChunkOutputCallback;
|
|
@@ -2098,6 +2272,8 @@ interface VideoFrameCallbackMetadata {
|
|
|
2098
2272
|
}
|
|
2099
2273
|
|
|
2100
2274
|
interface VideoFrameCopyToOptions {
|
|
2275
|
+
colorSpace?: PredefinedColorSpace;
|
|
2276
|
+
format?: VideoPixelFormat;
|
|
2101
2277
|
layout?: PlaneLayout[];
|
|
2102
2278
|
rect?: DOMRectInit;
|
|
2103
2279
|
}
|
|
@@ -2241,6 +2417,8 @@ interface ARIAMixin {
|
|
|
2241
2417
|
ariaColCount: string | null;
|
|
2242
2418
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */
|
|
2243
2419
|
ariaColIndex: string | null;
|
|
2420
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */
|
|
2421
|
+
ariaColIndexText: string | null;
|
|
2244
2422
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
|
|
2245
2423
|
ariaColSpan: string | null;
|
|
2246
2424
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
|
|
@@ -2288,6 +2466,8 @@ interface ARIAMixin {
|
|
|
2288
2466
|
ariaRowCount: string | null;
|
|
2289
2467
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */
|
|
2290
2468
|
ariaRowIndex: string | null;
|
|
2469
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */
|
|
2470
|
+
ariaRowIndexText: string | null;
|
|
2291
2471
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */
|
|
2292
2472
|
ariaRowSpan: string | null;
|
|
2293
2473
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */
|
|
@@ -2464,7 +2644,7 @@ interface Animatable {
|
|
|
2464
2644
|
interface AnimationEventMap {
|
|
2465
2645
|
"cancel": AnimationPlaybackEvent;
|
|
2466
2646
|
"finish": AnimationPlaybackEvent;
|
|
2467
|
-
"remove":
|
|
2647
|
+
"remove": AnimationPlaybackEvent;
|
|
2468
2648
|
}
|
|
2469
2649
|
|
|
2470
2650
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation) */
|
|
@@ -2482,7 +2662,7 @@ interface Animation extends EventTarget {
|
|
|
2482
2662
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish_event) */
|
|
2483
2663
|
onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;
|
|
2484
2664
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/remove_event) */
|
|
2485
|
-
onremove: ((this: Animation, ev:
|
|
2665
|
+
onremove: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;
|
|
2486
2666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending) */
|
|
2487
2667
|
readonly pending: boolean;
|
|
2488
2668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playState) */
|
|
@@ -2714,6 +2894,74 @@ declare var AudioContext: {
|
|
|
2714
2894
|
new(contextOptions?: AudioContextOptions): AudioContext;
|
|
2715
2895
|
};
|
|
2716
2896
|
|
|
2897
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData) */
|
|
2898
|
+
interface AudioData {
|
|
2899
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration) */
|
|
2900
|
+
readonly duration: number;
|
|
2901
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format) */
|
|
2902
|
+
readonly format: AudioSampleFormat | null;
|
|
2903
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels) */
|
|
2904
|
+
readonly numberOfChannels: number;
|
|
2905
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames) */
|
|
2906
|
+
readonly numberOfFrames: number;
|
|
2907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate) */
|
|
2908
|
+
readonly sampleRate: number;
|
|
2909
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp) */
|
|
2910
|
+
readonly timestamp: number;
|
|
2911
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize) */
|
|
2912
|
+
allocationSize(options: AudioDataCopyToOptions): number;
|
|
2913
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone) */
|
|
2914
|
+
clone(): AudioData;
|
|
2915
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close) */
|
|
2916
|
+
close(): void;
|
|
2917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo) */
|
|
2918
|
+
copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
declare var AudioData: {
|
|
2922
|
+
prototype: AudioData;
|
|
2923
|
+
new(init: AudioDataInit): AudioData;
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
interface AudioDecoderEventMap {
|
|
2927
|
+
"dequeue": Event;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Available only in secure contexts.
|
|
2932
|
+
*
|
|
2933
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder)
|
|
2934
|
+
*/
|
|
2935
|
+
interface AudioDecoder extends EventTarget {
|
|
2936
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize) */
|
|
2937
|
+
readonly decodeQueueSize: number;
|
|
2938
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */
|
|
2939
|
+
ondequeue: ((this: AudioDecoder, ev: Event) => any) | null;
|
|
2940
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state) */
|
|
2941
|
+
readonly state: CodecState;
|
|
2942
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close) */
|
|
2943
|
+
close(): void;
|
|
2944
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure) */
|
|
2945
|
+
configure(config: AudioDecoderConfig): void;
|
|
2946
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode) */
|
|
2947
|
+
decode(chunk: EncodedAudioChunk): void;
|
|
2948
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush) */
|
|
2949
|
+
flush(): Promise<void>;
|
|
2950
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset) */
|
|
2951
|
+
reset(): void;
|
|
2952
|
+
addEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2953
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2954
|
+
removeEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2955
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
declare var AudioDecoder: {
|
|
2959
|
+
prototype: AudioDecoder;
|
|
2960
|
+
new(init: AudioDecoderInit): AudioDecoder;
|
|
2961
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static) */
|
|
2962
|
+
isConfigSupported(config: AudioDecoderConfig): Promise<AudioDecoderSupport>;
|
|
2963
|
+
};
|
|
2964
|
+
|
|
2717
2965
|
/**
|
|
2718
2966
|
* AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised.
|
|
2719
2967
|
*
|
|
@@ -2729,6 +2977,45 @@ declare var AudioDestinationNode: {
|
|
|
2729
2977
|
new(): AudioDestinationNode;
|
|
2730
2978
|
};
|
|
2731
2979
|
|
|
2980
|
+
interface AudioEncoderEventMap {
|
|
2981
|
+
"dequeue": Event;
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
/**
|
|
2985
|
+
* Available only in secure contexts.
|
|
2986
|
+
*
|
|
2987
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder)
|
|
2988
|
+
*/
|
|
2989
|
+
interface AudioEncoder extends EventTarget {
|
|
2990
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize) */
|
|
2991
|
+
readonly encodeQueueSize: number;
|
|
2992
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */
|
|
2993
|
+
ondequeue: ((this: AudioEncoder, ev: Event) => any) | null;
|
|
2994
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state) */
|
|
2995
|
+
readonly state: CodecState;
|
|
2996
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close) */
|
|
2997
|
+
close(): void;
|
|
2998
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure) */
|
|
2999
|
+
configure(config: AudioEncoderConfig): void;
|
|
3000
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode) */
|
|
3001
|
+
encode(data: AudioData): void;
|
|
3002
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush) */
|
|
3003
|
+
flush(): Promise<void>;
|
|
3004
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset) */
|
|
3005
|
+
reset(): void;
|
|
3006
|
+
addEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3007
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3008
|
+
removeEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3009
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
declare var AudioEncoder: {
|
|
3013
|
+
prototype: AudioEncoder;
|
|
3014
|
+
new(init: AudioEncoderInit): AudioEncoder;
|
|
3015
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static) */
|
|
3016
|
+
isConfigSupported(config: AudioEncoderConfig): Promise<AudioEncoderSupport>;
|
|
3017
|
+
};
|
|
3018
|
+
|
|
2732
3019
|
/**
|
|
2733
3020
|
* The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute.
|
|
2734
3021
|
*
|
|
@@ -2924,7 +3211,7 @@ declare var AudioWorklet: {
|
|
|
2924
3211
|
};
|
|
2925
3212
|
|
|
2926
3213
|
interface AudioWorkletNodeEventMap {
|
|
2927
|
-
"processorerror":
|
|
3214
|
+
"processorerror": ErrorEvent;
|
|
2928
3215
|
}
|
|
2929
3216
|
|
|
2930
3217
|
/**
|
|
@@ -2934,7 +3221,7 @@ interface AudioWorkletNodeEventMap {
|
|
|
2934
3221
|
*/
|
|
2935
3222
|
interface AudioWorkletNode extends AudioNode {
|
|
2936
3223
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */
|
|
2937
|
-
onprocessorerror: ((this: AudioWorkletNode, ev:
|
|
3224
|
+
onprocessorerror: ((this: AudioWorkletNode, ev: ErrorEvent) => any) | null;
|
|
2938
3225
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters) */
|
|
2939
3226
|
readonly parameters: AudioParamMap;
|
|
2940
3227
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/port) */
|
|
@@ -3151,6 +3438,8 @@ interface Blob {
|
|
|
3151
3438
|
readonly type: string;
|
|
3152
3439
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
|
|
3153
3440
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
3441
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
|
|
3442
|
+
bytes(): Promise<Uint8Array>;
|
|
3154
3443
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
|
|
3155
3444
|
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
3156
3445
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
|
|
@@ -3186,6 +3475,8 @@ interface Body {
|
|
|
3186
3475
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
3187
3476
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
|
|
3188
3477
|
blob(): Promise<Blob>;
|
|
3478
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
|
|
3479
|
+
bytes(): Promise<Uint8Array>;
|
|
3189
3480
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */
|
|
3190
3481
|
formData(): Promise<FormData>;
|
|
3191
3482
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */
|
|
@@ -3413,7 +3704,7 @@ interface CSSImportRule extends CSSRule {
|
|
|
3413
3704
|
readonly layerName: string | null;
|
|
3414
3705
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
|
|
3415
3706
|
readonly media: MediaList;
|
|
3416
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/
|
|
3707
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
|
|
3417
3708
|
readonly styleSheet: CSSStyleSheet | null;
|
|
3418
3709
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
|
|
3419
3710
|
readonly supportsText: string | null;
|
|
@@ -3449,6 +3740,7 @@ declare var CSSKeyframeRule: {
|
|
|
3449
3740
|
interface CSSKeyframesRule extends CSSRule {
|
|
3450
3741
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules) */
|
|
3451
3742
|
readonly cssRules: CSSRuleList;
|
|
3743
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length) */
|
|
3452
3744
|
readonly length: number;
|
|
3453
3745
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name) */
|
|
3454
3746
|
name: string;
|
|
@@ -3706,7 +3998,7 @@ declare var CSSPerspective: {
|
|
|
3706
3998
|
interface CSSPropertyRule extends CSSRule {
|
|
3707
3999
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */
|
|
3708
4000
|
readonly inherits: boolean;
|
|
3709
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/
|
|
4001
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */
|
|
3710
4002
|
readonly initialValue: string | null;
|
|
3711
4003
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */
|
|
3712
4004
|
readonly name: string;
|
|
@@ -4097,11 +4389,13 @@ interface CSSStyleDeclaration {
|
|
|
4097
4389
|
clip: string;
|
|
4098
4390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-path) */
|
|
4099
4391
|
clipPath: string;
|
|
4392
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-rule) */
|
|
4100
4393
|
clipRule: string;
|
|
4101
4394
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */
|
|
4102
4395
|
color: string;
|
|
4103
4396
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */
|
|
4104
4397
|
colorInterpolation: string;
|
|
4398
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) */
|
|
4105
4399
|
colorInterpolationFilters: string;
|
|
4106
4400
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */
|
|
4107
4401
|
colorScheme: string;
|
|
@@ -4127,9 +4421,11 @@ interface CSSStyleDeclaration {
|
|
|
4127
4421
|
columns: string;
|
|
4128
4422
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */
|
|
4129
4423
|
contain: string;
|
|
4424
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) */
|
|
4130
4425
|
containIntrinsicBlockSize: string;
|
|
4131
4426
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */
|
|
4132
4427
|
containIntrinsicHeight: string;
|
|
4428
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) */
|
|
4133
4429
|
containIntrinsicInlineSize: string;
|
|
4134
4430
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */
|
|
4135
4431
|
containIntrinsicSize: string;
|
|
@@ -4157,18 +4453,25 @@ interface CSSStyleDeclaration {
|
|
|
4157
4453
|
cssText: string;
|
|
4158
4454
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
4159
4455
|
cursor: string;
|
|
4456
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
|
|
4160
4457
|
cx: string;
|
|
4458
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
|
|
4161
4459
|
cy: string;
|
|
4460
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */
|
|
4162
4461
|
d: string;
|
|
4163
4462
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
|
|
4164
4463
|
direction: string;
|
|
4165
4464
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */
|
|
4166
4465
|
display: string;
|
|
4466
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
|
|
4167
4467
|
dominantBaseline: string;
|
|
4168
4468
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
|
|
4169
4469
|
emptyCells: string;
|
|
4470
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */
|
|
4170
4471
|
fill: string;
|
|
4472
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) */
|
|
4171
4473
|
fillOpacity: string;
|
|
4474
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-rule) */
|
|
4172
4475
|
fillRule: string;
|
|
4173
4476
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/filter) */
|
|
4174
4477
|
filter: string;
|
|
@@ -4355,9 +4658,13 @@ interface CSSStyleDeclaration {
|
|
|
4355
4658
|
marginRight: string;
|
|
4356
4659
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */
|
|
4357
4660
|
marginTop: string;
|
|
4661
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */
|
|
4358
4662
|
marker: string;
|
|
4663
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */
|
|
4359
4664
|
markerEnd: string;
|
|
4665
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */
|
|
4360
4666
|
markerMid: string;
|
|
4667
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */
|
|
4361
4668
|
markerStart: string;
|
|
4362
4669
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */
|
|
4363
4670
|
mask: string;
|
|
@@ -4507,6 +4814,7 @@ interface CSSStyleDeclaration {
|
|
|
4507
4814
|
printColorAdjust: string;
|
|
4508
4815
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
4509
4816
|
quotes: string;
|
|
4817
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/r) */
|
|
4510
4818
|
r: string;
|
|
4511
4819
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/resize) */
|
|
4512
4820
|
resize: string;
|
|
@@ -4516,9 +4824,13 @@ interface CSSStyleDeclaration {
|
|
|
4516
4824
|
rotate: string;
|
|
4517
4825
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/row-gap) */
|
|
4518
4826
|
rowGap: string;
|
|
4827
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-align) */
|
|
4828
|
+
rubyAlign: string;
|
|
4519
4829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */
|
|
4520
4830
|
rubyPosition: string;
|
|
4831
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rx) */
|
|
4521
4832
|
rx: string;
|
|
4833
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ry) */
|
|
4522
4834
|
ry: string;
|
|
4523
4835
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scale) */
|
|
4524
4836
|
scale: string;
|
|
@@ -4586,16 +4898,27 @@ interface CSSStyleDeclaration {
|
|
|
4586
4898
|
shapeMargin: string;
|
|
4587
4899
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */
|
|
4588
4900
|
shapeOutside: string;
|
|
4901
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) */
|
|
4589
4902
|
shapeRendering: string;
|
|
4903
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-color) */
|
|
4590
4904
|
stopColor: string;
|
|
4905
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */
|
|
4591
4906
|
stopOpacity: string;
|
|
4907
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
|
|
4592
4908
|
stroke: string;
|
|
4909
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) */
|
|
4593
4910
|
strokeDasharray: string;
|
|
4911
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) */
|
|
4594
4912
|
strokeDashoffset: string;
|
|
4913
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) */
|
|
4595
4914
|
strokeLinecap: string;
|
|
4915
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) */
|
|
4596
4916
|
strokeLinejoin: string;
|
|
4917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) */
|
|
4597
4918
|
strokeMiterlimit: string;
|
|
4919
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) */
|
|
4598
4920
|
strokeOpacity: string;
|
|
4921
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-width) */
|
|
4599
4922
|
strokeWidth: string;
|
|
4600
4923
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/tab-size) */
|
|
4601
4924
|
tabSize: string;
|
|
@@ -4605,6 +4928,7 @@ interface CSSStyleDeclaration {
|
|
|
4605
4928
|
textAlign: string;
|
|
4606
4929
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align-last) */
|
|
4607
4930
|
textAlignLast: string;
|
|
4931
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */
|
|
4608
4932
|
textAnchor: string;
|
|
4609
4933
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) */
|
|
4610
4934
|
textCombineUpright: string;
|
|
@@ -4680,6 +5004,7 @@ interface CSSStyleDeclaration {
|
|
|
4680
5004
|
unicodeBidi: string;
|
|
4681
5005
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */
|
|
4682
5006
|
userSelect: string;
|
|
5007
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */
|
|
4683
5008
|
vectorEffect: string;
|
|
4684
5009
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
4685
5010
|
verticalAlign: string;
|
|
@@ -5109,7 +5434,9 @@ interface CSSStyleDeclaration {
|
|
|
5109
5434
|
wordWrap: string;
|
|
5110
5435
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */
|
|
5111
5436
|
writingMode: string;
|
|
5437
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/x) */
|
|
5112
5438
|
x: string;
|
|
5439
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/y) */
|
|
5113
5440
|
y: string;
|
|
5114
5441
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */
|
|
5115
5442
|
zIndex: string;
|
|
@@ -5647,6 +5974,18 @@ interface CanvasUserInterface {
|
|
|
5647
5974
|
drawFocusIfNeeded(path: Path2D, element: Element): void;
|
|
5648
5975
|
}
|
|
5649
5976
|
|
|
5977
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition) */
|
|
5978
|
+
interface CaretPosition {
|
|
5979
|
+
readonly offset: number;
|
|
5980
|
+
readonly offsetNode: Node;
|
|
5981
|
+
getClientRect(): DOMRect | null;
|
|
5982
|
+
}
|
|
5983
|
+
|
|
5984
|
+
declare var CaretPosition: {
|
|
5985
|
+
prototype: CaretPosition;
|
|
5986
|
+
new(): CaretPosition;
|
|
5987
|
+
};
|
|
5988
|
+
|
|
5650
5989
|
/**
|
|
5651
5990
|
* The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
|
|
5652
5991
|
*
|
|
@@ -5862,6 +6201,8 @@ declare var CompositionEvent: {
|
|
|
5862
6201
|
|
|
5863
6202
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
|
|
5864
6203
|
interface CompressionStream extends GenericTransformStream {
|
|
6204
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
6205
|
+
readonly writable: WritableStream<BufferSource>;
|
|
5865
6206
|
}
|
|
5866
6207
|
|
|
5867
6208
|
declare var CompressionStream: {
|
|
@@ -6166,27 +6507,49 @@ declare var DOMImplementation: {
|
|
|
6166
6507
|
|
|
6167
6508
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix) */
|
|
6168
6509
|
interface DOMMatrix extends DOMMatrixReadOnly {
|
|
6510
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6169
6511
|
a: number;
|
|
6512
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6170
6513
|
b: number;
|
|
6514
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6171
6515
|
c: number;
|
|
6516
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6172
6517
|
d: number;
|
|
6518
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6173
6519
|
e: number;
|
|
6520
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6174
6521
|
f: number;
|
|
6522
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6175
6523
|
m11: number;
|
|
6524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6176
6525
|
m12: number;
|
|
6526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6177
6527
|
m13: number;
|
|
6528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6178
6529
|
m14: number;
|
|
6530
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6179
6531
|
m21: number;
|
|
6532
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6180
6533
|
m22: number;
|
|
6534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6181
6535
|
m23: number;
|
|
6536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6182
6537
|
m24: number;
|
|
6538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6183
6539
|
m31: number;
|
|
6540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6184
6541
|
m32: number;
|
|
6542
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6185
6543
|
m33: number;
|
|
6544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6186
6545
|
m34: number;
|
|
6546
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6187
6547
|
m41: number;
|
|
6548
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6188
6549
|
m42: number;
|
|
6550
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6189
6551
|
m43: number;
|
|
6552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
|
|
6190
6553
|
m44: number;
|
|
6191
6554
|
invertSelf(): DOMMatrix;
|
|
6192
6555
|
multiplySelf(other?: DOMMatrixInit): DOMMatrix;
|
|
@@ -6218,29 +6581,51 @@ declare var WebKitCSSMatrix: typeof DOMMatrix;
|
|
|
6218
6581
|
|
|
6219
6582
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
|
|
6220
6583
|
interface DOMMatrixReadOnly {
|
|
6584
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6221
6585
|
readonly a: number;
|
|
6586
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6222
6587
|
readonly b: number;
|
|
6588
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6223
6589
|
readonly c: number;
|
|
6590
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6224
6591
|
readonly d: number;
|
|
6592
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6225
6593
|
readonly e: number;
|
|
6594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6226
6595
|
readonly f: number;
|
|
6227
6596
|
readonly is2D: boolean;
|
|
6228
6597
|
readonly isIdentity: boolean;
|
|
6598
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6229
6599
|
readonly m11: number;
|
|
6600
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6230
6601
|
readonly m12: number;
|
|
6602
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6231
6603
|
readonly m13: number;
|
|
6604
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6232
6605
|
readonly m14: number;
|
|
6606
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6233
6607
|
readonly m21: number;
|
|
6608
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6234
6609
|
readonly m22: number;
|
|
6610
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6235
6611
|
readonly m23: number;
|
|
6612
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6236
6613
|
readonly m24: number;
|
|
6614
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6237
6615
|
readonly m31: number;
|
|
6616
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6238
6617
|
readonly m32: number;
|
|
6618
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6239
6619
|
readonly m33: number;
|
|
6620
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6240
6621
|
readonly m34: number;
|
|
6622
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6241
6623
|
readonly m41: number;
|
|
6624
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6242
6625
|
readonly m42: number;
|
|
6626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6243
6627
|
readonly m43: number;
|
|
6628
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
|
|
6244
6629
|
readonly m44: number;
|
|
6245
6630
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
|
|
6246
6631
|
flipX(): DOMMatrix;
|
|
@@ -6712,6 +7097,8 @@ declare var DataTransferItemList: {
|
|
|
6712
7097
|
|
|
6713
7098
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
|
|
6714
7099
|
interface DecompressionStream extends GenericTransformStream {
|
|
7100
|
+
readonly readable: ReadableStream<Uint8Array>;
|
|
7101
|
+
readonly writable: WritableStream<BufferSource>;
|
|
6715
7102
|
}
|
|
6716
7103
|
|
|
6717
7104
|
declare var DecompressionStream: {
|
|
@@ -6974,6 +7361,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
6974
7361
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/forms)
|
|
6975
7362
|
*/
|
|
6976
7363
|
readonly forms: HTMLCollectionOf<HTMLFormElement>;
|
|
7364
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fragmentDirective) */
|
|
7365
|
+
readonly fragmentDirective: FragmentDirective;
|
|
6977
7366
|
/**
|
|
6978
7367
|
* @deprecated
|
|
6979
7368
|
*
|
|
@@ -7118,6 +7507,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7118
7507
|
adoptNode<T extends Node>(node: T): T;
|
|
7119
7508
|
/** @deprecated */
|
|
7120
7509
|
captureEvents(): void;
|
|
7510
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */
|
|
7511
|
+
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
|
|
7121
7512
|
/** @deprecated */
|
|
7122
7513
|
caretRangeFromPoint(x: number, y: number): Range | null;
|
|
7123
7514
|
/**
|
|
@@ -7228,8 +7619,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7228
7619
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
7229
7620
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
7230
7621
|
createEvent(eventInterface: "MouseEvents"): MouseEvent;
|
|
7231
|
-
createEvent(eventInterface: "MutationEvent"): MutationEvent;
|
|
7232
|
-
createEvent(eventInterface: "MutationEvents"): MutationEvent;
|
|
7233
7622
|
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
|
|
7234
7623
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
7235
7624
|
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
@@ -7436,7 +7825,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7436
7825
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess) */
|
|
7437
7826
|
requestStorageAccess(): Promise<void>;
|
|
7438
7827
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition) */
|
|
7439
|
-
startViewTransition(callbackOptions?:
|
|
7828
|
+
startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition;
|
|
7440
7829
|
/**
|
|
7441
7830
|
* Writes one or more HTML expressions to a document in the specified window.
|
|
7442
7831
|
* @param content Specifies the text and HTML tags to write.
|
|
@@ -7705,6 +8094,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
7705
8094
|
readonly clientTop: number;
|
|
7706
8095
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) */
|
|
7707
8096
|
readonly clientWidth: number;
|
|
8097
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) */
|
|
8098
|
+
readonly currentCSSZoom: number;
|
|
7708
8099
|
/**
|
|
7709
8100
|
* Returns the value of element's id content attribute. Can be set to change it.
|
|
7710
8101
|
*
|
|
@@ -8036,6 +8427,25 @@ declare var ElementInternals: {
|
|
|
8036
8427
|
new(): ElementInternals;
|
|
8037
8428
|
};
|
|
8038
8429
|
|
|
8430
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk) */
|
|
8431
|
+
interface EncodedAudioChunk {
|
|
8432
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength) */
|
|
8433
|
+
readonly byteLength: number;
|
|
8434
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/duration) */
|
|
8435
|
+
readonly duration: number | null;
|
|
8436
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/timestamp) */
|
|
8437
|
+
readonly timestamp: number;
|
|
8438
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/type) */
|
|
8439
|
+
readonly type: EncodedAudioChunkType;
|
|
8440
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/copyTo) */
|
|
8441
|
+
copyTo(destination: AllowSharedBufferSource): void;
|
|
8442
|
+
}
|
|
8443
|
+
|
|
8444
|
+
declare var EncodedAudioChunk: {
|
|
8445
|
+
prototype: EncodedAudioChunk;
|
|
8446
|
+
new(init: EncodedAudioChunkInit): EncodedAudioChunk;
|
|
8447
|
+
};
|
|
8448
|
+
|
|
8039
8449
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk) */
|
|
8040
8450
|
interface EncodedVideoChunk {
|
|
8041
8451
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength) */
|
|
@@ -8631,23 +9041,23 @@ interface FontFace {
|
|
|
8631
9041
|
|
|
8632
9042
|
declare var FontFace: {
|
|
8633
9043
|
prototype: FontFace;
|
|
8634
|
-
new(family: string, source: string |
|
|
9044
|
+
new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace;
|
|
8635
9045
|
};
|
|
8636
9046
|
|
|
8637
9047
|
interface FontFaceSetEventMap {
|
|
8638
|
-
"loading":
|
|
8639
|
-
"loadingdone":
|
|
8640
|
-
"loadingerror":
|
|
9048
|
+
"loading": FontFaceSetLoadEvent;
|
|
9049
|
+
"loadingdone": FontFaceSetLoadEvent;
|
|
9050
|
+
"loadingerror": FontFaceSetLoadEvent;
|
|
8641
9051
|
}
|
|
8642
9052
|
|
|
8643
9053
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet) */
|
|
8644
9054
|
interface FontFaceSet extends EventTarget {
|
|
8645
9055
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */
|
|
8646
|
-
onloading: ((this: FontFaceSet, ev:
|
|
9056
|
+
onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
|
8647
9057
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */
|
|
8648
|
-
onloadingdone: ((this: FontFaceSet, ev:
|
|
9058
|
+
onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
|
8649
9059
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */
|
|
8650
|
-
onloadingerror: ((this: FontFaceSet, ev:
|
|
9060
|
+
onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;
|
|
8651
9061
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready) */
|
|
8652
9062
|
readonly ready: Promise<FontFaceSet>;
|
|
8653
9063
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status) */
|
|
@@ -8665,7 +9075,7 @@ interface FontFaceSet extends EventTarget {
|
|
|
8665
9075
|
|
|
8666
9076
|
declare var FontFaceSet: {
|
|
8667
9077
|
prototype: FontFaceSet;
|
|
8668
|
-
new(
|
|
9078
|
+
new(): FontFaceSet;
|
|
8669
9079
|
};
|
|
8670
9080
|
|
|
8671
9081
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent) */
|
|
@@ -8729,6 +9139,15 @@ declare var FormDataEvent: {
|
|
|
8729
9139
|
new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;
|
|
8730
9140
|
};
|
|
8731
9141
|
|
|
9142
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FragmentDirective) */
|
|
9143
|
+
interface FragmentDirective {
|
|
9144
|
+
}
|
|
9145
|
+
|
|
9146
|
+
declare var FragmentDirective: {
|
|
9147
|
+
prototype: FragmentDirective;
|
|
9148
|
+
new(): FragmentDirective;
|
|
9149
|
+
};
|
|
9150
|
+
|
|
8732
9151
|
/**
|
|
8733
9152
|
* A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.
|
|
8734
9153
|
*
|
|
@@ -8815,6 +9234,7 @@ declare var GamepadEvent: {
|
|
|
8815
9234
|
interface GamepadHapticActuator {
|
|
8816
9235
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */
|
|
8817
9236
|
playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
|
|
9237
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/reset) */
|
|
8818
9238
|
reset(): Promise<GamepadHapticsResult>;
|
|
8819
9239
|
}
|
|
8820
9240
|
|
|
@@ -9663,7 +10083,11 @@ declare var HTMLBRElement: {
|
|
|
9663
10083
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement)
|
|
9664
10084
|
*/
|
|
9665
10085
|
interface HTMLBaseElement extends HTMLElement {
|
|
9666
|
-
/**
|
|
10086
|
+
/**
|
|
10087
|
+
* Gets or sets the baseline URL on which relative links are based.
|
|
10088
|
+
*
|
|
10089
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href)
|
|
10090
|
+
*/
|
|
9667
10091
|
href: string;
|
|
9668
10092
|
/**
|
|
9669
10093
|
* Sets or retrieves the window or frame at which to target content.
|
|
@@ -9722,7 +10146,11 @@ declare var HTMLBodyElement: {
|
|
|
9722
10146
|
interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
9723
10147
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
|
|
9724
10148
|
disabled: boolean;
|
|
9725
|
-
/**
|
|
10149
|
+
/**
|
|
10150
|
+
* Retrieves a reference to the form that the object is embedded in.
|
|
10151
|
+
*
|
|
10152
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)
|
|
10153
|
+
*/
|
|
9726
10154
|
readonly form: HTMLFormElement | null;
|
|
9727
10155
|
/** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
|
|
9728
10156
|
formAction: string;
|
|
@@ -9736,7 +10164,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9736
10164
|
formTarget: string;
|
|
9737
10165
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */
|
|
9738
10166
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
9739
|
-
/**
|
|
10167
|
+
/**
|
|
10168
|
+
* Sets or retrieves the name of the object.
|
|
10169
|
+
*
|
|
10170
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
|
|
10171
|
+
*/
|
|
9740
10172
|
name: string;
|
|
9741
10173
|
/**
|
|
9742
10174
|
* Gets the classification and default behavior of the button.
|
|
@@ -9744,20 +10176,43 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9744
10176
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)
|
|
9745
10177
|
*/
|
|
9746
10178
|
type: "submit" | "reset" | "button";
|
|
9747
|
-
/**
|
|
10179
|
+
/**
|
|
10180
|
+
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
10181
|
+
*
|
|
10182
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)
|
|
10183
|
+
*/
|
|
9748
10184
|
readonly validationMessage: string;
|
|
9749
|
-
/**
|
|
10185
|
+
/**
|
|
10186
|
+
* Returns a ValidityState object that represents the validity states of an element.
|
|
10187
|
+
*
|
|
10188
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity)
|
|
10189
|
+
*/
|
|
9750
10190
|
readonly validity: ValidityState;
|
|
9751
|
-
/**
|
|
10191
|
+
/**
|
|
10192
|
+
* Sets or retrieves the default or selected value of the control.
|
|
10193
|
+
*
|
|
10194
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
|
|
10195
|
+
*/
|
|
9752
10196
|
value: string;
|
|
9753
|
-
/**
|
|
10197
|
+
/**
|
|
10198
|
+
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
10199
|
+
*
|
|
10200
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate)
|
|
10201
|
+
*/
|
|
9754
10202
|
readonly willValidate: boolean;
|
|
9755
|
-
/**
|
|
10203
|
+
/**
|
|
10204
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10205
|
+
*
|
|
10206
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/checkValidity)
|
|
10207
|
+
*/
|
|
9756
10208
|
checkValidity(): boolean;
|
|
10209
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */
|
|
9757
10210
|
reportValidity(): boolean;
|
|
9758
10211
|
/**
|
|
9759
10212
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
9760
10213
|
* @param error Sets a custom error message that is displayed when a form is submitted.
|
|
10214
|
+
*
|
|
10215
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)
|
|
9761
10216
|
*/
|
|
9762
10217
|
setCustomValidity(error: string): void;
|
|
9763
10218
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLButtonElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9909,7 +10364,11 @@ declare var HTMLDataElement: {
|
|
|
9909
10364
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement)
|
|
9910
10365
|
*/
|
|
9911
10366
|
interface HTMLDataListElement extends HTMLElement {
|
|
9912
|
-
/**
|
|
10367
|
+
/**
|
|
10368
|
+
* Returns an HTMLCollection of the option elements of the datalist element.
|
|
10369
|
+
*
|
|
10370
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options)
|
|
10371
|
+
*/
|
|
9913
10372
|
readonly options: HTMLCollectionOf<HTMLOptionElement>;
|
|
9914
10373
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9915
10374
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9924,6 +10383,7 @@ declare var HTMLDataListElement: {
|
|
|
9924
10383
|
|
|
9925
10384
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
|
|
9926
10385
|
interface HTMLDetailsElement extends HTMLElement {
|
|
10386
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
9927
10387
|
name: string;
|
|
9928
10388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
9929
10389
|
open: boolean;
|
|
@@ -10070,6 +10530,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10070
10530
|
title: string;
|
|
10071
10531
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
|
|
10072
10532
|
translate: boolean;
|
|
10533
|
+
writingSuggestions: string;
|
|
10073
10534
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */
|
|
10074
10535
|
attachInternals(): ElementInternals;
|
|
10075
10536
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click) */
|
|
@@ -10141,26 +10602,59 @@ declare var HTMLEmbedElement: {
|
|
|
10141
10602
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)
|
|
10142
10603
|
*/
|
|
10143
10604
|
interface HTMLFieldSetElement extends HTMLElement {
|
|
10605
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled) */
|
|
10144
10606
|
disabled: boolean;
|
|
10145
|
-
/**
|
|
10607
|
+
/**
|
|
10608
|
+
* Returns an HTMLCollection of the form controls in the element.
|
|
10609
|
+
*
|
|
10610
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)
|
|
10611
|
+
*/
|
|
10146
10612
|
readonly elements: HTMLCollection;
|
|
10147
|
-
/**
|
|
10613
|
+
/**
|
|
10614
|
+
* Retrieves a reference to the form that the object is embedded in.
|
|
10615
|
+
*
|
|
10616
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form)
|
|
10617
|
+
*/
|
|
10148
10618
|
readonly form: HTMLFormElement | null;
|
|
10619
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
|
|
10149
10620
|
name: string;
|
|
10150
|
-
/**
|
|
10621
|
+
/**
|
|
10622
|
+
* Returns the string "fieldset".
|
|
10623
|
+
*
|
|
10624
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
|
|
10625
|
+
*/
|
|
10151
10626
|
readonly type: string;
|
|
10152
|
-
/**
|
|
10627
|
+
/**
|
|
10628
|
+
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
10629
|
+
*
|
|
10630
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)
|
|
10631
|
+
*/
|
|
10153
10632
|
readonly validationMessage: string;
|
|
10154
|
-
/**
|
|
10633
|
+
/**
|
|
10634
|
+
* Returns a ValidityState object that represents the validity states of an element.
|
|
10635
|
+
*
|
|
10636
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity)
|
|
10637
|
+
*/
|
|
10155
10638
|
readonly validity: ValidityState;
|
|
10156
|
-
/**
|
|
10639
|
+
/**
|
|
10640
|
+
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
10641
|
+
*
|
|
10642
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate)
|
|
10643
|
+
*/
|
|
10157
10644
|
readonly willValidate: boolean;
|
|
10158
|
-
/**
|
|
10645
|
+
/**
|
|
10646
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10647
|
+
*
|
|
10648
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/checkValidity)
|
|
10649
|
+
*/
|
|
10159
10650
|
checkValidity(): boolean;
|
|
10651
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */
|
|
10160
10652
|
reportValidity(): boolean;
|
|
10161
10653
|
/**
|
|
10162
10654
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
10163
10655
|
* @param error Sets a custom error message that is displayed when a form is submitted.
|
|
10656
|
+
*
|
|
10657
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)
|
|
10164
10658
|
*/
|
|
10165
10659
|
setCustomValidity(error: string): void;
|
|
10166
10660
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFieldSetElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10299,7 +10793,11 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10299
10793
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)
|
|
10300
10794
|
*/
|
|
10301
10795
|
target: string;
|
|
10302
|
-
/**
|
|
10796
|
+
/**
|
|
10797
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10798
|
+
*
|
|
10799
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)
|
|
10800
|
+
*/
|
|
10303
10801
|
checkValidity(): boolean;
|
|
10304
10802
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */
|
|
10305
10803
|
reportValidity(): boolean;
|
|
@@ -10862,23 +11360,48 @@ declare var HTMLImageElement: {
|
|
|
10862
11360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
|
|
10863
11361
|
*/
|
|
10864
11362
|
interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
10865
|
-
/**
|
|
11363
|
+
/**
|
|
11364
|
+
* Sets or retrieves a comma-separated list of content types.
|
|
11365
|
+
*
|
|
11366
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/accept)
|
|
11367
|
+
*/
|
|
10866
11368
|
accept: string;
|
|
10867
11369
|
/**
|
|
10868
11370
|
* Sets or retrieves how the object is aligned with adjacent text.
|
|
10869
11371
|
* @deprecated
|
|
10870
11372
|
*/
|
|
10871
11373
|
align: string;
|
|
10872
|
-
/**
|
|
11374
|
+
/**
|
|
11375
|
+
* Sets or retrieves a text alternative to the graphic.
|
|
11376
|
+
*
|
|
11377
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/alt)
|
|
11378
|
+
*/
|
|
10873
11379
|
alt: string;
|
|
10874
|
-
/**
|
|
11380
|
+
/**
|
|
11381
|
+
* Specifies whether autocomplete is applied to an editable text field.
|
|
11382
|
+
*
|
|
11383
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
|
|
11384
|
+
*/
|
|
10875
11385
|
autocomplete: AutoFill;
|
|
11386
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
|
|
10876
11387
|
capture: string;
|
|
10877
|
-
/**
|
|
11388
|
+
/**
|
|
11389
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
11390
|
+
*
|
|
11391
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
11392
|
+
*/
|
|
10878
11393
|
checked: boolean;
|
|
10879
|
-
/**
|
|
11394
|
+
/**
|
|
11395
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
11396
|
+
*
|
|
11397
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)
|
|
11398
|
+
*/
|
|
10880
11399
|
defaultChecked: boolean;
|
|
10881
|
-
/**
|
|
11400
|
+
/**
|
|
11401
|
+
* Sets or retrieves the initial contents of the object.
|
|
11402
|
+
*
|
|
11403
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11404
|
+
*/
|
|
10882
11405
|
defaultValue: string;
|
|
10883
11406
|
dirName: string;
|
|
10884
11407
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -10889,7 +11412,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10889
11412
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files)
|
|
10890
11413
|
*/
|
|
10891
11414
|
files: FileList | null;
|
|
10892
|
-
/**
|
|
11415
|
+
/**
|
|
11416
|
+
* Retrieves a reference to the form that the object is embedded in.
|
|
11417
|
+
*
|
|
11418
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/form)
|
|
11419
|
+
*/
|
|
10893
11420
|
readonly form: HTMLFormElement | null;
|
|
10894
11421
|
/** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
|
|
10895
11422
|
formAction: string;
|
|
@@ -10901,20 +11428,45 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10901
11428
|
formNoValidate: boolean;
|
|
10902
11429
|
/** Overrides the target attribute on a form element. */
|
|
10903
11430
|
formTarget: string;
|
|
10904
|
-
/**
|
|
11431
|
+
/**
|
|
11432
|
+
* Sets or retrieves the height of the object.
|
|
11433
|
+
*
|
|
11434
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
|
|
11435
|
+
*/
|
|
10905
11436
|
height: number;
|
|
10906
|
-
/**
|
|
11437
|
+
/**
|
|
11438
|
+
* When set, overrides the rendering of checkbox controls so that the current value is not visible.
|
|
11439
|
+
*
|
|
11440
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
|
|
11441
|
+
*/
|
|
10907
11442
|
indeterminate: boolean;
|
|
10908
11443
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
|
|
10909
11444
|
readonly labels: NodeListOf<HTMLLabelElement> | null;
|
|
10910
|
-
/**
|
|
11445
|
+
/**
|
|
11446
|
+
* Specifies the ID of a pre-defined datalist of options for an input element.
|
|
11447
|
+
*
|
|
11448
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)
|
|
11449
|
+
*/
|
|
10911
11450
|
readonly list: HTMLDataListElement | null;
|
|
10912
|
-
/**
|
|
11451
|
+
/**
|
|
11452
|
+
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
|
|
11453
|
+
*
|
|
11454
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)
|
|
11455
|
+
*/
|
|
10913
11456
|
max: string;
|
|
10914
|
-
/**
|
|
11457
|
+
/**
|
|
11458
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
11459
|
+
*
|
|
11460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
11461
|
+
*/
|
|
10915
11462
|
maxLength: number;
|
|
10916
|
-
/**
|
|
11463
|
+
/**
|
|
11464
|
+
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
|
|
11465
|
+
*
|
|
11466
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)
|
|
11467
|
+
*/
|
|
10917
11468
|
min: string;
|
|
11469
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
10918
11470
|
minLength: number;
|
|
10919
11471
|
/**
|
|
10920
11472
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -10922,14 +11474,31 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10922
11474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
|
|
10923
11475
|
*/
|
|
10924
11476
|
multiple: boolean;
|
|
10925
|
-
/**
|
|
11477
|
+
/**
|
|
11478
|
+
* Sets or retrieves the name of the object.
|
|
11479
|
+
*
|
|
11480
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
|
|
11481
|
+
*/
|
|
10926
11482
|
name: string;
|
|
10927
|
-
/**
|
|
11483
|
+
/**
|
|
11484
|
+
* Gets or sets a string containing a regular expression that the user's input must match.
|
|
11485
|
+
*
|
|
11486
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern)
|
|
11487
|
+
*/
|
|
10928
11488
|
pattern: string;
|
|
10929
|
-
/**
|
|
11489
|
+
/**
|
|
11490
|
+
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
|
|
11491
|
+
*
|
|
11492
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder)
|
|
11493
|
+
*/
|
|
10930
11494
|
placeholder: string;
|
|
11495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly) */
|
|
10931
11496
|
readOnly: boolean;
|
|
10932
|
-
/**
|
|
11497
|
+
/**
|
|
11498
|
+
* When present, marks an element that can't be submitted without a value.
|
|
11499
|
+
*
|
|
11500
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required)
|
|
11501
|
+
*/
|
|
10933
11502
|
required: boolean;
|
|
10934
11503
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
|
|
10935
11504
|
selectionDirection: "forward" | "backward" | "none" | null;
|
|
@@ -10945,10 +11514,19 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10945
11514
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
|
|
10946
11515
|
*/
|
|
10947
11516
|
selectionStart: number | null;
|
|
11517
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size) */
|
|
10948
11518
|
size: number;
|
|
10949
|
-
/**
|
|
11519
|
+
/**
|
|
11520
|
+
* The address or URL of the a media resource that is to be considered.
|
|
11521
|
+
*
|
|
11522
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/src)
|
|
11523
|
+
*/
|
|
10950
11524
|
src: string;
|
|
10951
|
-
/**
|
|
11525
|
+
/**
|
|
11526
|
+
* Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
|
|
11527
|
+
*
|
|
11528
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/step)
|
|
11529
|
+
*/
|
|
10952
11530
|
step: string;
|
|
10953
11531
|
/**
|
|
10954
11532
|
* Returns the content type of the object.
|
|
@@ -10961,23 +11539,51 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10961
11539
|
* @deprecated
|
|
10962
11540
|
*/
|
|
10963
11541
|
useMap: string;
|
|
10964
|
-
/**
|
|
11542
|
+
/**
|
|
11543
|
+
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
11544
|
+
*
|
|
11545
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)
|
|
11546
|
+
*/
|
|
10965
11547
|
readonly validationMessage: string;
|
|
10966
|
-
/**
|
|
11548
|
+
/**
|
|
11549
|
+
* Returns a ValidityState object that represents the validity states of an element.
|
|
11550
|
+
*
|
|
11551
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity)
|
|
11552
|
+
*/
|
|
10967
11553
|
readonly validity: ValidityState;
|
|
10968
|
-
/**
|
|
11554
|
+
/**
|
|
11555
|
+
* Returns the value of the data at the cursor's current position.
|
|
11556
|
+
*
|
|
11557
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)
|
|
11558
|
+
*/
|
|
10969
11559
|
value: string;
|
|
10970
|
-
/**
|
|
11560
|
+
/**
|
|
11561
|
+
* Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.
|
|
11562
|
+
*
|
|
11563
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)
|
|
11564
|
+
*/
|
|
10971
11565
|
valueAsDate: Date | null;
|
|
10972
|
-
/**
|
|
11566
|
+
/**
|
|
11567
|
+
* Returns the input field value as a number.
|
|
11568
|
+
*
|
|
11569
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)
|
|
11570
|
+
*/
|
|
10973
11571
|
valueAsNumber: number;
|
|
10974
11572
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries) */
|
|
10975
11573
|
readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
|
|
10976
11574
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
|
|
10977
11575
|
webkitdirectory: boolean;
|
|
10978
|
-
/**
|
|
11576
|
+
/**
|
|
11577
|
+
* Sets or retrieves the width of the object.
|
|
11578
|
+
*
|
|
11579
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
|
|
11580
|
+
*/
|
|
10979
11581
|
width: number;
|
|
10980
|
-
/**
|
|
11582
|
+
/**
|
|
11583
|
+
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
11584
|
+
*
|
|
11585
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate)
|
|
11586
|
+
*/
|
|
10981
11587
|
readonly willValidate: boolean;
|
|
10982
11588
|
/**
|
|
10983
11589
|
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
@@ -11103,7 +11709,11 @@ declare var HTMLLabelElement: {
|
|
|
11103
11709
|
interface HTMLLegendElement extends HTMLElement {
|
|
11104
11710
|
/** @deprecated */
|
|
11105
11711
|
align: string;
|
|
11106
|
-
/**
|
|
11712
|
+
/**
|
|
11713
|
+
* Retrieves a reference to the form that the object is embedded in.
|
|
11714
|
+
*
|
|
11715
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLegendElement/form)
|
|
11716
|
+
*/
|
|
11107
11717
|
readonly form: HTMLFormElement | null;
|
|
11108
11718
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11109
11719
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11135,7 +11745,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11135
11745
|
disabled: boolean;
|
|
11136
11746
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
|
|
11137
11747
|
fetchPriority: string;
|
|
11138
|
-
/**
|
|
11748
|
+
/**
|
|
11749
|
+
* Sets or retrieves a destination URL or an anchor point.
|
|
11750
|
+
*
|
|
11751
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
|
|
11752
|
+
*/
|
|
11139
11753
|
href: string;
|
|
11140
11754
|
/**
|
|
11141
11755
|
* Sets or retrieves the language code of the object.
|
|
@@ -11147,7 +11761,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11147
11761
|
imageSrcset: string;
|
|
11148
11762
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
11149
11763
|
integrity: string;
|
|
11150
|
-
/**
|
|
11764
|
+
/**
|
|
11765
|
+
* Sets or retrieves the media type.
|
|
11766
|
+
*
|
|
11767
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
|
|
11768
|
+
*/
|
|
11151
11769
|
media: string;
|
|
11152
11770
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
|
|
11153
11771
|
referrerPolicy: string;
|
|
@@ -11193,7 +11811,11 @@ declare var HTMLLinkElement: {
|
|
|
11193
11811
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement)
|
|
11194
11812
|
*/
|
|
11195
11813
|
interface HTMLMapElement extends HTMLElement {
|
|
11196
|
-
/**
|
|
11814
|
+
/**
|
|
11815
|
+
* Retrieves a collection of the area objects defined for the given map object.
|
|
11816
|
+
*
|
|
11817
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas)
|
|
11818
|
+
*/
|
|
11197
11819
|
readonly areas: HTMLCollection;
|
|
11198
11820
|
/**
|
|
11199
11821
|
* Sets or retrieves the name of the object.
|
|
@@ -11544,13 +12166,19 @@ declare var HTMLMetaElement: {
|
|
|
11544
12166
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement)
|
|
11545
12167
|
*/
|
|
11546
12168
|
interface HTMLMeterElement extends HTMLElement {
|
|
12169
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */
|
|
11547
12170
|
high: number;
|
|
11548
12171
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */
|
|
11549
12172
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12173
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */
|
|
11550
12174
|
low: number;
|
|
12175
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */
|
|
11551
12176
|
max: number;
|
|
12177
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */
|
|
11552
12178
|
min: number;
|
|
12179
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */
|
|
11553
12180
|
optimum: number;
|
|
12181
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */
|
|
11554
12182
|
value: number;
|
|
11555
12183
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11556
12184
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11730,6 +12358,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
11730
12358
|
*/
|
|
11731
12359
|
checkValidity(): boolean;
|
|
11732
12360
|
getSVGDocument(): Document | null;
|
|
12361
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */
|
|
11733
12362
|
reportValidity(): boolean;
|
|
11734
12363
|
/**
|
|
11735
12364
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -11755,8 +12384,13 @@ declare var HTMLObjectElement: {
|
|
|
11755
12384
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)
|
|
11756
12385
|
*/
|
|
11757
12386
|
interface HTMLOptGroupElement extends HTMLElement {
|
|
12387
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled) */
|
|
11758
12388
|
disabled: boolean;
|
|
11759
|
-
/**
|
|
12389
|
+
/**
|
|
12390
|
+
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
|
|
12391
|
+
*
|
|
12392
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)
|
|
12393
|
+
*/
|
|
11760
12394
|
label: string;
|
|
11761
12395
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11762
12396
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11775,20 +12409,49 @@ declare var HTMLOptGroupElement: {
|
|
|
11775
12409
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)
|
|
11776
12410
|
*/
|
|
11777
12411
|
interface HTMLOptionElement extends HTMLElement {
|
|
11778
|
-
/**
|
|
12412
|
+
/**
|
|
12413
|
+
* Sets or retrieves the status of an option.
|
|
12414
|
+
*
|
|
12415
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)
|
|
12416
|
+
*/
|
|
11779
12417
|
defaultSelected: boolean;
|
|
12418
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled) */
|
|
11780
12419
|
disabled: boolean;
|
|
11781
|
-
/**
|
|
12420
|
+
/**
|
|
12421
|
+
* Retrieves a reference to the form that the object is embedded in.
|
|
12422
|
+
*
|
|
12423
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
|
|
12424
|
+
*/
|
|
11782
12425
|
readonly form: HTMLFormElement | null;
|
|
11783
|
-
/**
|
|
12426
|
+
/**
|
|
12427
|
+
* Sets or retrieves the ordinal position of an option in a list box.
|
|
12428
|
+
*
|
|
12429
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)
|
|
12430
|
+
*/
|
|
11784
12431
|
readonly index: number;
|
|
11785
|
-
/**
|
|
12432
|
+
/**
|
|
12433
|
+
* Sets or retrieves a value that you can use to implement your own label functionality for the object.
|
|
12434
|
+
*
|
|
12435
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)
|
|
12436
|
+
*/
|
|
11786
12437
|
label: string;
|
|
11787
|
-
/**
|
|
12438
|
+
/**
|
|
12439
|
+
* Sets or retrieves whether the option in the list box is the default item.
|
|
12440
|
+
*
|
|
12441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)
|
|
12442
|
+
*/
|
|
11788
12443
|
selected: boolean;
|
|
11789
|
-
/**
|
|
12444
|
+
/**
|
|
12445
|
+
* Sets or retrieves the text string specified by the option tag.
|
|
12446
|
+
*
|
|
12447
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)
|
|
12448
|
+
*/
|
|
11790
12449
|
text: string;
|
|
11791
|
-
/**
|
|
12450
|
+
/**
|
|
12451
|
+
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
12452
|
+
*
|
|
12453
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)
|
|
12454
|
+
*/
|
|
11792
12455
|
value: string;
|
|
11793
12456
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11794
12457
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11862,24 +12525,38 @@ interface HTMLOrSVGElement {
|
|
|
11862
12525
|
*/
|
|
11863
12526
|
interface HTMLOutputElement extends HTMLElement {
|
|
11864
12527
|
defaultValue: string;
|
|
12528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
|
|
11865
12529
|
readonly form: HTMLFormElement | null;
|
|
11866
12530
|
readonly htmlFor: DOMTokenList;
|
|
11867
12531
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
11868
12532
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
|
|
11869
12534
|
name: string;
|
|
11870
|
-
/**
|
|
12535
|
+
/**
|
|
12536
|
+
* Returns the string "output".
|
|
12537
|
+
*
|
|
12538
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
|
|
12539
|
+
*/
|
|
11871
12540
|
readonly type: string;
|
|
12541
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage) */
|
|
11872
12542
|
readonly validationMessage: string;
|
|
12543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
|
|
11873
12544
|
readonly validity: ValidityState;
|
|
11874
12545
|
/**
|
|
11875
12546
|
* Returns the element's current value.
|
|
11876
12547
|
*
|
|
11877
12548
|
* Can be set, to change the value.
|
|
12549
|
+
*
|
|
12550
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
|
|
11878
12551
|
*/
|
|
11879
12552
|
value: string;
|
|
12553
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */
|
|
11880
12554
|
readonly willValidate: boolean;
|
|
12555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */
|
|
11881
12556
|
checkValidity(): boolean;
|
|
12557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
|
|
11882
12558
|
reportValidity(): boolean;
|
|
12559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity) */
|
|
11883
12560
|
setCustomValidity(error: string): void;
|
|
11884
12561
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11885
12562
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12135,11 +12812,23 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12135
12812
|
readonly form: HTMLFormElement | null;
|
|
12136
12813
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */
|
|
12137
12814
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12138
|
-
/**
|
|
12815
|
+
/**
|
|
12816
|
+
* Sets or retrieves the number of objects in a collection.
|
|
12817
|
+
*
|
|
12818
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length)
|
|
12819
|
+
*/
|
|
12139
12820
|
length: number;
|
|
12140
|
-
/**
|
|
12821
|
+
/**
|
|
12822
|
+
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
12823
|
+
*
|
|
12824
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple)
|
|
12825
|
+
*/
|
|
12141
12826
|
multiple: boolean;
|
|
12142
|
-
/**
|
|
12827
|
+
/**
|
|
12828
|
+
* Sets or retrieves the name of the object.
|
|
12829
|
+
*
|
|
12830
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
|
|
12831
|
+
*/
|
|
12143
12832
|
name: string;
|
|
12144
12833
|
/**
|
|
12145
12834
|
* Returns an HTMLOptionsCollection of the list of options.
|
|
@@ -12147,7 +12836,11 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12147
12836
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options)
|
|
12148
12837
|
*/
|
|
12149
12838
|
readonly options: HTMLOptionsCollection;
|
|
12150
|
-
/**
|
|
12839
|
+
/**
|
|
12840
|
+
* When present, marks an element that can't be submitted without a value.
|
|
12841
|
+
*
|
|
12842
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required)
|
|
12843
|
+
*/
|
|
12151
12844
|
required: boolean;
|
|
12152
12845
|
/**
|
|
12153
12846
|
* Sets or retrieves the index of the selected option in a select object.
|
|
@@ -12157,7 +12850,11 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12157
12850
|
selectedIndex: number;
|
|
12158
12851
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */
|
|
12159
12852
|
readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;
|
|
12160
|
-
/**
|
|
12853
|
+
/**
|
|
12854
|
+
* Sets or retrieves the number of rows in the list box.
|
|
12855
|
+
*
|
|
12856
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size)
|
|
12857
|
+
*/
|
|
12161
12858
|
size: number;
|
|
12162
12859
|
/**
|
|
12163
12860
|
* Retrieves the type of select control based on the value of the MULTIPLE attribute.
|
|
@@ -12165,9 +12862,17 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12165
12862
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)
|
|
12166
12863
|
*/
|
|
12167
12864
|
readonly type: "select-one" | "select-multiple";
|
|
12168
|
-
/**
|
|
12865
|
+
/**
|
|
12866
|
+
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
12867
|
+
*
|
|
12868
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)
|
|
12869
|
+
*/
|
|
12169
12870
|
readonly validationMessage: string;
|
|
12170
|
-
/**
|
|
12871
|
+
/**
|
|
12872
|
+
* Returns a ValidityState object that represents the validity states of an element.
|
|
12873
|
+
*
|
|
12874
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity)
|
|
12875
|
+
*/
|
|
12171
12876
|
readonly validity: ValidityState;
|
|
12172
12877
|
/**
|
|
12173
12878
|
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
@@ -12175,7 +12880,11 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12175
12880
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)
|
|
12176
12881
|
*/
|
|
12177
12882
|
value: string;
|
|
12178
|
-
/**
|
|
12883
|
+
/**
|
|
12884
|
+
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
12885
|
+
*
|
|
12886
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate)
|
|
12887
|
+
*/
|
|
12179
12888
|
readonly willValidate: boolean;
|
|
12180
12889
|
/**
|
|
12181
12890
|
* Adds an element to the areas, controlRange, or options collection.
|
|
@@ -12214,6 +12923,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12214
12923
|
*/
|
|
12215
12924
|
remove(): void;
|
|
12216
12925
|
remove(index: number): void;
|
|
12926
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */
|
|
12217
12927
|
reportValidity(): boolean;
|
|
12218
12928
|
/**
|
|
12219
12929
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -12348,6 +13058,8 @@ interface HTMLTableCaptionElement extends HTMLElement {
|
|
|
12348
13058
|
/**
|
|
12349
13059
|
* Sets or retrieves the alignment of the caption or legend.
|
|
12350
13060
|
* @deprecated
|
|
13061
|
+
*
|
|
13062
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align)
|
|
12351
13063
|
*/
|
|
12352
13064
|
align: string;
|
|
12353
13065
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12710,6 +13422,8 @@ interface HTMLTableRowElement extends HTMLElement {
|
|
|
12710
13422
|
/**
|
|
12711
13423
|
* Sets or retrieves how the object is aligned with adjacent text.
|
|
12712
13424
|
* @deprecated
|
|
13425
|
+
*
|
|
13426
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align)
|
|
12713
13427
|
*/
|
|
12714
13428
|
align: string;
|
|
12715
13429
|
/**
|
|
@@ -12748,7 +13462,11 @@ interface HTMLTableRowElement extends HTMLElement {
|
|
|
12748
13462
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)
|
|
12749
13463
|
*/
|
|
12750
13464
|
readonly sectionRowIndex: number;
|
|
12751
|
-
/**
|
|
13465
|
+
/**
|
|
13466
|
+
* @deprecated
|
|
13467
|
+
*
|
|
13468
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign)
|
|
13469
|
+
*/
|
|
12752
13470
|
vAlign: string;
|
|
12753
13471
|
/**
|
|
12754
13472
|
* Removes the specified cell from the table row, as well as from the cells collection.
|
|
@@ -12784,6 +13502,8 @@ interface HTMLTableSectionElement extends HTMLElement {
|
|
|
12784
13502
|
/**
|
|
12785
13503
|
* Sets or retrieves a value that indicates the table alignment.
|
|
12786
13504
|
* @deprecated
|
|
13505
|
+
*
|
|
13506
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align)
|
|
12787
13507
|
*/
|
|
12788
13508
|
align: string;
|
|
12789
13509
|
/**
|
|
@@ -12804,7 +13524,11 @@ interface HTMLTableSectionElement extends HTMLElement {
|
|
|
12804
13524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)
|
|
12805
13525
|
*/
|
|
12806
13526
|
readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
|
|
12807
|
-
/**
|
|
13527
|
+
/**
|
|
13528
|
+
* @deprecated
|
|
13529
|
+
*
|
|
13530
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign)
|
|
13531
|
+
*/
|
|
12808
13532
|
vAlign: string;
|
|
12809
13533
|
/**
|
|
12810
13534
|
* Removes the specified row (tr) from the element and from the rows collection.
|
|
@@ -12868,35 +13592,84 @@ declare var HTMLTemplateElement: {
|
|
|
12868
13592
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement)
|
|
12869
13593
|
*/
|
|
12870
13594
|
interface HTMLTextAreaElement extends HTMLElement {
|
|
13595
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
|
|
12871
13596
|
autocomplete: AutoFill;
|
|
12872
|
-
/**
|
|
13597
|
+
/**
|
|
13598
|
+
* Sets or retrieves the width of the object.
|
|
13599
|
+
*
|
|
13600
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/cols)
|
|
13601
|
+
*/
|
|
12873
13602
|
cols: number;
|
|
12874
|
-
/**
|
|
13603
|
+
/**
|
|
13604
|
+
* Sets or retrieves the initial contents of the object.
|
|
13605
|
+
*
|
|
13606
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
|
|
13607
|
+
*/
|
|
12875
13608
|
defaultValue: string;
|
|
12876
13609
|
dirName: string;
|
|
13610
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
|
|
12877
13611
|
disabled: boolean;
|
|
12878
|
-
/**
|
|
13612
|
+
/**
|
|
13613
|
+
* Retrieves a reference to the form that the object is embedded in.
|
|
13614
|
+
*
|
|
13615
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/form)
|
|
13616
|
+
*/
|
|
12879
13617
|
readonly form: HTMLFormElement | null;
|
|
12880
13618
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels) */
|
|
12881
13619
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12882
|
-
/**
|
|
13620
|
+
/**
|
|
13621
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
13622
|
+
*
|
|
13623
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength)
|
|
13624
|
+
*/
|
|
12883
13625
|
maxLength: number;
|
|
13626
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength) */
|
|
12884
13627
|
minLength: number;
|
|
12885
|
-
/**
|
|
13628
|
+
/**
|
|
13629
|
+
* Sets or retrieves the name of the object.
|
|
13630
|
+
*
|
|
13631
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
|
|
13632
|
+
*/
|
|
12886
13633
|
name: string;
|
|
12887
|
-
/**
|
|
13634
|
+
/**
|
|
13635
|
+
* Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
|
|
13636
|
+
*
|
|
13637
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/placeholder)
|
|
13638
|
+
*/
|
|
12888
13639
|
placeholder: string;
|
|
12889
|
-
/**
|
|
13640
|
+
/**
|
|
13641
|
+
* Sets or retrieves the value indicated whether the content of the object is read-only.
|
|
13642
|
+
*
|
|
13643
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/readOnly)
|
|
13644
|
+
*/
|
|
12890
13645
|
readOnly: boolean;
|
|
12891
|
-
/**
|
|
13646
|
+
/**
|
|
13647
|
+
* When present, marks an element that can't be submitted without a value.
|
|
13648
|
+
*
|
|
13649
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/required)
|
|
13650
|
+
*/
|
|
12892
13651
|
required: boolean;
|
|
12893
|
-
/**
|
|
13652
|
+
/**
|
|
13653
|
+
* Sets or retrieves the number of horizontal rows contained in the object.
|
|
13654
|
+
*
|
|
13655
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
|
|
13656
|
+
*/
|
|
12894
13657
|
rows: number;
|
|
13658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
|
|
12895
13659
|
selectionDirection: "forward" | "backward" | "none";
|
|
12896
|
-
/**
|
|
13660
|
+
/**
|
|
13661
|
+
* Gets or sets the end position or offset of a text selection.
|
|
13662
|
+
*
|
|
13663
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)
|
|
13664
|
+
*/
|
|
12897
13665
|
selectionEnd: number;
|
|
12898
|
-
/**
|
|
13666
|
+
/**
|
|
13667
|
+
* Gets or sets the starting position or offset of a text selection.
|
|
13668
|
+
*
|
|
13669
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)
|
|
13670
|
+
*/
|
|
12899
13671
|
selectionStart: number;
|
|
13672
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
|
|
12900
13673
|
readonly textLength: number;
|
|
12901
13674
|
/**
|
|
12902
13675
|
* Retrieves the type of control.
|
|
@@ -12904,26 +13677,58 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
12904
13677
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
|
|
12905
13678
|
*/
|
|
12906
13679
|
readonly type: string;
|
|
12907
|
-
/**
|
|
13680
|
+
/**
|
|
13681
|
+
* Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
|
|
13682
|
+
*
|
|
13683
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)
|
|
13684
|
+
*/
|
|
12908
13685
|
readonly validationMessage: string;
|
|
12909
|
-
/**
|
|
13686
|
+
/**
|
|
13687
|
+
* Returns a ValidityState object that represents the validity states of an element.
|
|
13688
|
+
*
|
|
13689
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validity)
|
|
13690
|
+
*/
|
|
12910
13691
|
readonly validity: ValidityState;
|
|
12911
|
-
/**
|
|
13692
|
+
/**
|
|
13693
|
+
* Retrieves or sets the text in the entry field of the textArea element.
|
|
13694
|
+
*
|
|
13695
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)
|
|
13696
|
+
*/
|
|
12912
13697
|
value: string;
|
|
12913
|
-
/**
|
|
13698
|
+
/**
|
|
13699
|
+
* Returns whether an element will successfully validate based on forms validation rules and constraints.
|
|
13700
|
+
*
|
|
13701
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/willValidate)
|
|
13702
|
+
*/
|
|
12914
13703
|
readonly willValidate: boolean;
|
|
12915
|
-
/**
|
|
13704
|
+
/**
|
|
13705
|
+
* Sets or retrieves how to handle wordwrapping in the object.
|
|
13706
|
+
*
|
|
13707
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/wrap)
|
|
13708
|
+
*/
|
|
12916
13709
|
wrap: string;
|
|
12917
|
-
/**
|
|
13710
|
+
/**
|
|
13711
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
13712
|
+
*
|
|
13713
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/checkValidity)
|
|
13714
|
+
*/
|
|
12918
13715
|
checkValidity(): boolean;
|
|
13716
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
|
|
12919
13717
|
reportValidity(): boolean;
|
|
12920
|
-
/**
|
|
13718
|
+
/**
|
|
13719
|
+
* Highlights the input area of a form element.
|
|
13720
|
+
*
|
|
13721
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select)
|
|
13722
|
+
*/
|
|
12921
13723
|
select(): void;
|
|
12922
13724
|
/**
|
|
12923
13725
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
12924
13726
|
* @param error Sets a custom error message that is displayed when a form is submitted.
|
|
13727
|
+
*
|
|
13728
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)
|
|
12925
13729
|
*/
|
|
12926
13730
|
setCustomValidity(error: string): void;
|
|
13731
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
|
|
12927
13732
|
setRangeText(replacement: string): void;
|
|
12928
13733
|
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
12929
13734
|
/**
|
|
@@ -12931,6 +13736,8 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
12931
13736
|
* @param start The offset into the text field for the start of the selection.
|
|
12932
13737
|
* @param end The offset into the text field for the end of the selection.
|
|
12933
13738
|
* @param direction The direction in which the selection is performed.
|
|
13739
|
+
*
|
|
13740
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
12934
13741
|
*/
|
|
12935
13742
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
12936
13743
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13059,8 +13866,8 @@ declare var HTMLUnknownElement: {
|
|
|
13059
13866
|
};
|
|
13060
13867
|
|
|
13061
13868
|
interface HTMLVideoElementEventMap extends HTMLMediaElementEventMap {
|
|
13062
|
-
"enterpictureinpicture":
|
|
13063
|
-
"leavepictureinpicture":
|
|
13869
|
+
"enterpictureinpicture": PictureInPictureEvent;
|
|
13870
|
+
"leavepictureinpicture": PictureInPictureEvent;
|
|
13064
13871
|
}
|
|
13065
13872
|
|
|
13066
13873
|
/**
|
|
@@ -13078,9 +13885,9 @@ interface HTMLVideoElement extends HTMLMediaElement {
|
|
|
13078
13885
|
*/
|
|
13079
13886
|
height: number;
|
|
13080
13887
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */
|
|
13081
|
-
onenterpictureinpicture: ((this: HTMLVideoElement, ev:
|
|
13888
|
+
onenterpictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent) => any) | null;
|
|
13082
13889
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event) */
|
|
13083
|
-
onleavepictureinpicture: ((this: HTMLVideoElement, ev:
|
|
13890
|
+
onleavepictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent) => any) | null;
|
|
13084
13891
|
/** Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins. */
|
|
13085
13892
|
playsInline: boolean;
|
|
13086
13893
|
/**
|
|
@@ -13859,7 +14666,7 @@ interface IDBTransaction extends EventTarget {
|
|
|
13859
14666
|
/**
|
|
13860
14667
|
* Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
|
|
13861
14668
|
*
|
|
13862
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/
|
|
14669
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
|
|
13863
14670
|
*/
|
|
13864
14671
|
readonly objectStoreNames: DOMStringList;
|
|
13865
14672
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
|
|
@@ -13967,7 +14774,11 @@ declare var ImageBitmap: {
|
|
|
13967
14774
|
|
|
13968
14775
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext) */
|
|
13969
14776
|
interface ImageBitmapRenderingContext {
|
|
13970
|
-
/**
|
|
14777
|
+
/**
|
|
14778
|
+
* Returns the canvas element that the context is bound to.
|
|
14779
|
+
*
|
|
14780
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)
|
|
14781
|
+
*/
|
|
13971
14782
|
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
13972
14783
|
/**
|
|
13973
14784
|
* Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.
|
|
@@ -14106,7 +14917,7 @@ interface IntersectionObserverEntry {
|
|
|
14106
14917
|
|
|
14107
14918
|
declare var IntersectionObserverEntry: {
|
|
14108
14919
|
prototype: IntersectionObserverEntry;
|
|
14109
|
-
new(
|
|
14920
|
+
new(): IntersectionObserverEntry;
|
|
14110
14921
|
};
|
|
14111
14922
|
|
|
14112
14923
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */
|
|
@@ -14367,7 +15178,7 @@ declare var LockManager: {
|
|
|
14367
15178
|
};
|
|
14368
15179
|
|
|
14369
15180
|
interface MIDIAccessEventMap {
|
|
14370
|
-
"statechange":
|
|
15181
|
+
"statechange": MIDIConnectionEvent;
|
|
14371
15182
|
}
|
|
14372
15183
|
|
|
14373
15184
|
/**
|
|
@@ -14379,7 +15190,7 @@ interface MIDIAccess extends EventTarget {
|
|
|
14379
15190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/inputs) */
|
|
14380
15191
|
readonly inputs: MIDIInputMap;
|
|
14381
15192
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event) */
|
|
14382
|
-
onstatechange: ((this: MIDIAccess, ev:
|
|
15193
|
+
onstatechange: ((this: MIDIAccess, ev: MIDIConnectionEvent) => any) | null;
|
|
14383
15194
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs) */
|
|
14384
15195
|
readonly outputs: MIDIOutputMap;
|
|
14385
15196
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/sysexEnabled) */
|
|
@@ -14787,6 +15598,7 @@ declare var MediaKeySystemAccess: {
|
|
|
14787
15598
|
interface MediaKeys {
|
|
14788
15599
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */
|
|
14789
15600
|
createSession(sessionType?: MediaKeySessionType): MediaKeySession;
|
|
15601
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/getStatusForPolicy) */
|
|
14790
15602
|
getStatusForPolicy(policy?: MediaKeysPolicy): Promise<MediaKeyStatus>;
|
|
14791
15603
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) */
|
|
14792
15604
|
setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;
|
|
@@ -14889,7 +15701,7 @@ declare var MediaQueryListEvent: {
|
|
|
14889
15701
|
|
|
14890
15702
|
interface MediaRecorderEventMap {
|
|
14891
15703
|
"dataavailable": BlobEvent;
|
|
14892
|
-
"error":
|
|
15704
|
+
"error": ErrorEvent;
|
|
14893
15705
|
"pause": Event;
|
|
14894
15706
|
"resume": Event;
|
|
14895
15707
|
"start": Event;
|
|
@@ -14905,7 +15717,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
14905
15717
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/dataavailable_event) */
|
|
14906
15718
|
ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
|
|
14907
15719
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/error_event) */
|
|
14908
|
-
onerror: ((this: MediaRecorder, ev:
|
|
15720
|
+
onerror: ((this: MediaRecorder, ev: ErrorEvent) => any) | null;
|
|
14909
15721
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/pause_event) */
|
|
14910
15722
|
onpause: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
14911
15723
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/resume_event) */
|
|
@@ -15396,63 +16208,6 @@ declare var MouseEvent: {
|
|
|
15396
16208
|
new(type: string, eventInitDict?: MouseEventInit): MouseEvent;
|
|
15397
16209
|
};
|
|
15398
16210
|
|
|
15399
|
-
/**
|
|
15400
|
-
* Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.
|
|
15401
|
-
* @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.
|
|
15402
|
-
*
|
|
15403
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent)
|
|
15404
|
-
*/
|
|
15405
|
-
interface MutationEvent extends Event {
|
|
15406
|
-
/**
|
|
15407
|
-
* @deprecated
|
|
15408
|
-
*
|
|
15409
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange)
|
|
15410
|
-
*/
|
|
15411
|
-
readonly attrChange: number;
|
|
15412
|
-
/**
|
|
15413
|
-
* @deprecated
|
|
15414
|
-
*
|
|
15415
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName)
|
|
15416
|
-
*/
|
|
15417
|
-
readonly attrName: string;
|
|
15418
|
-
/**
|
|
15419
|
-
* @deprecated
|
|
15420
|
-
*
|
|
15421
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue)
|
|
15422
|
-
*/
|
|
15423
|
-
readonly newValue: string;
|
|
15424
|
-
/**
|
|
15425
|
-
* @deprecated
|
|
15426
|
-
*
|
|
15427
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue)
|
|
15428
|
-
*/
|
|
15429
|
-
readonly prevValue: string;
|
|
15430
|
-
/**
|
|
15431
|
-
* @deprecated
|
|
15432
|
-
*
|
|
15433
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode)
|
|
15434
|
-
*/
|
|
15435
|
-
readonly relatedNode: Node | null;
|
|
15436
|
-
/**
|
|
15437
|
-
* @deprecated
|
|
15438
|
-
*
|
|
15439
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent)
|
|
15440
|
-
*/
|
|
15441
|
-
initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;
|
|
15442
|
-
readonly MODIFICATION: 1;
|
|
15443
|
-
readonly ADDITION: 2;
|
|
15444
|
-
readonly REMOVAL: 3;
|
|
15445
|
-
}
|
|
15446
|
-
|
|
15447
|
-
/** @deprecated */
|
|
15448
|
-
declare var MutationEvent: {
|
|
15449
|
-
prototype: MutationEvent;
|
|
15450
|
-
new(): MutationEvent;
|
|
15451
|
-
readonly MODIFICATION: 1;
|
|
15452
|
-
readonly ADDITION: 2;
|
|
15453
|
-
readonly REMOVAL: 3;
|
|
15454
|
-
};
|
|
15455
|
-
|
|
15456
16211
|
/**
|
|
15457
16212
|
* Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.
|
|
15458
16213
|
*
|
|
@@ -16262,7 +17017,7 @@ interface OES_vertex_array_object {
|
|
|
16262
17017
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */
|
|
16263
17018
|
bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
16264
17019
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES) */
|
|
16265
|
-
createVertexArrayOES(): WebGLVertexArrayObjectOES
|
|
17020
|
+
createVertexArrayOES(): WebGLVertexArrayObjectOES;
|
|
16266
17021
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES) */
|
|
16267
17022
|
deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
|
|
16268
17023
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES) */
|
|
@@ -16395,6 +17150,7 @@ declare var OffscreenCanvas: {
|
|
|
16395
17150
|
|
|
16396
17151
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
16397
17152
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
17153
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
|
|
16398
17154
|
readonly canvas: OffscreenCanvas;
|
|
16399
17155
|
}
|
|
16400
17156
|
|
|
@@ -16608,6 +17364,37 @@ declare var Path2D: {
|
|
|
16608
17364
|
new(path?: Path2D | string): Path2D;
|
|
16609
17365
|
};
|
|
16610
17366
|
|
|
17367
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress) */
|
|
17368
|
+
interface PaymentAddress {
|
|
17369
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/addressLine) */
|
|
17370
|
+
readonly addressLine: ReadonlyArray<string>;
|
|
17371
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/city) */
|
|
17372
|
+
readonly city: string;
|
|
17373
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/country) */
|
|
17374
|
+
readonly country: string;
|
|
17375
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/dependentLocality) */
|
|
17376
|
+
readonly dependentLocality: string;
|
|
17377
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/organization) */
|
|
17378
|
+
readonly organization: string;
|
|
17379
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/phone) */
|
|
17380
|
+
readonly phone: string;
|
|
17381
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/postalCode) */
|
|
17382
|
+
readonly postalCode: string;
|
|
17383
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/recipient) */
|
|
17384
|
+
readonly recipient: string;
|
|
17385
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/region) */
|
|
17386
|
+
readonly region: string;
|
|
17387
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/sortingCode) */
|
|
17388
|
+
readonly sortingCode: string;
|
|
17389
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/toJSON) */
|
|
17390
|
+
toJSON(): any;
|
|
17391
|
+
}
|
|
17392
|
+
|
|
17393
|
+
declare var PaymentAddress: {
|
|
17394
|
+
prototype: PaymentAddress;
|
|
17395
|
+
new(): PaymentAddress;
|
|
17396
|
+
};
|
|
17397
|
+
|
|
16611
17398
|
/**
|
|
16612
17399
|
* Available only in secure contexts.
|
|
16613
17400
|
*
|
|
@@ -16626,7 +17413,9 @@ declare var PaymentMethodChangeEvent: {
|
|
|
16626
17413
|
};
|
|
16627
17414
|
|
|
16628
17415
|
interface PaymentRequestEventMap {
|
|
16629
|
-
"paymentmethodchange":
|
|
17416
|
+
"paymentmethodchange": PaymentMethodChangeEvent;
|
|
17417
|
+
"shippingaddresschange": PaymentRequestUpdateEvent;
|
|
17418
|
+
"shippingoptionchange": PaymentRequestUpdateEvent;
|
|
16630
17419
|
}
|
|
16631
17420
|
|
|
16632
17421
|
/**
|
|
@@ -16639,7 +17428,37 @@ interface PaymentRequest extends EventTarget {
|
|
|
16639
17428
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/id) */
|
|
16640
17429
|
readonly id: string;
|
|
16641
17430
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */
|
|
16642
|
-
onpaymentmethodchange: ((this: PaymentRequest, ev:
|
|
17431
|
+
onpaymentmethodchange: ((this: PaymentRequest, ev: PaymentMethodChangeEvent) => any) | null;
|
|
17432
|
+
/**
|
|
17433
|
+
* @deprecated
|
|
17434
|
+
*
|
|
17435
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
|
|
17436
|
+
*/
|
|
17437
|
+
onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17438
|
+
/**
|
|
17439
|
+
* @deprecated
|
|
17440
|
+
*
|
|
17441
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
|
|
17442
|
+
*/
|
|
17443
|
+
onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17444
|
+
/**
|
|
17445
|
+
* @deprecated
|
|
17446
|
+
*
|
|
17447
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingAddress)
|
|
17448
|
+
*/
|
|
17449
|
+
readonly shippingAddress: PaymentAddress | null;
|
|
17450
|
+
/**
|
|
17451
|
+
* @deprecated
|
|
17452
|
+
*
|
|
17453
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingOption)
|
|
17454
|
+
*/
|
|
17455
|
+
readonly shippingOption: string | null;
|
|
17456
|
+
/**
|
|
17457
|
+
* @deprecated
|
|
17458
|
+
*
|
|
17459
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType)
|
|
17460
|
+
*/
|
|
17461
|
+
readonly shippingType: PaymentShippingType | null;
|
|
16643
17462
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort) */
|
|
16644
17463
|
abort(): Promise<void>;
|
|
16645
17464
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/canMakePayment) */
|
|
@@ -16654,7 +17473,7 @@ interface PaymentRequest extends EventTarget {
|
|
|
16654
17473
|
|
|
16655
17474
|
declare var PaymentRequest: {
|
|
16656
17475
|
prototype: PaymentRequest;
|
|
16657
|
-
new(methodData: PaymentMethodData[], details: PaymentDetailsInit): PaymentRequest;
|
|
17476
|
+
new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest;
|
|
16658
17477
|
};
|
|
16659
17478
|
|
|
16660
17479
|
/**
|
|
@@ -16673,6 +17492,10 @@ declare var PaymentRequestUpdateEvent: {
|
|
|
16673
17492
|
new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;
|
|
16674
17493
|
};
|
|
16675
17494
|
|
|
17495
|
+
interface PaymentResponseEventMap {
|
|
17496
|
+
"payerdetailchange": PaymentRequestUpdateEvent;
|
|
17497
|
+
}
|
|
17498
|
+
|
|
16676
17499
|
/**
|
|
16677
17500
|
* This Payment Request API interface is returned after a user selects a payment method and approves a payment request.
|
|
16678
17501
|
* Available only in secure contexts.
|
|
@@ -16684,14 +17507,30 @@ interface PaymentResponse extends EventTarget {
|
|
|
16684
17507
|
readonly details: any;
|
|
16685
17508
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
16686
17509
|
readonly methodName: string;
|
|
17510
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
17511
|
+
onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17512
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
17513
|
+
readonly payerEmail: string | null;
|
|
17514
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|
|
17515
|
+
readonly payerName: string | null;
|
|
17516
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone) */
|
|
17517
|
+
readonly payerPhone: string | null;
|
|
16687
17518
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId) */
|
|
16688
17519
|
readonly requestId: string;
|
|
17520
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress) */
|
|
17521
|
+
readonly shippingAddress: PaymentAddress | null;
|
|
17522
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption) */
|
|
17523
|
+
readonly shippingOption: string | null;
|
|
16689
17524
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete) */
|
|
16690
17525
|
complete(result?: PaymentComplete): Promise<void>;
|
|
16691
17526
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/retry) */
|
|
16692
17527
|
retry(errorFields?: PaymentValidationErrors): Promise<void>;
|
|
16693
17528
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON) */
|
|
16694
17529
|
toJSON(): any;
|
|
17530
|
+
addEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
17531
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
17532
|
+
removeEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
17533
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
16695
17534
|
}
|
|
16696
17535
|
|
|
16697
17536
|
declare var PaymentResponse: {
|
|
@@ -16983,6 +17822,8 @@ interface PerformanceResourceTiming extends PerformanceEntry {
|
|
|
16983
17822
|
readonly responseEnd: DOMHighResTimeStamp;
|
|
16984
17823
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart) */
|
|
16985
17824
|
readonly responseStart: DOMHighResTimeStamp;
|
|
17825
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus) */
|
|
17826
|
+
readonly responseStatus: number;
|
|
16986
17827
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart) */
|
|
16987
17828
|
readonly secureConnectionStart: DOMHighResTimeStamp;
|
|
16988
17829
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming) */
|
|
@@ -17318,6 +18159,10 @@ declare var PluginArray: {
|
|
|
17318
18159
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent)
|
|
17319
18160
|
*/
|
|
17320
18161
|
interface PointerEvent extends MouseEvent {
|
|
18162
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/altitudeAngle) */
|
|
18163
|
+
readonly altitudeAngle: number;
|
|
18164
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/azimuthAngle) */
|
|
18165
|
+
readonly azimuthAngle: number;
|
|
17321
18166
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height) */
|
|
17322
18167
|
readonly height: number;
|
|
17323
18168
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary) */
|
|
@@ -17443,15 +18288,21 @@ interface PublicKeyCredential extends Credential {
|
|
|
17443
18288
|
readonly response: AuthenticatorResponse;
|
|
17444
18289
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults) */
|
|
17445
18290
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
18291
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON) */
|
|
18292
|
+
toJSON(): PublicKeyCredentialJSON;
|
|
17446
18293
|
}
|
|
17447
18294
|
|
|
17448
18295
|
declare var PublicKeyCredential: {
|
|
17449
18296
|
prototype: PublicKeyCredential;
|
|
17450
18297
|
new(): PublicKeyCredential;
|
|
17451
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/
|
|
18298
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
|
|
17452
18299
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17453
18300
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17454
18301
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
18302
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static) */
|
|
18303
|
+
parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;
|
|
18304
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static) */
|
|
18305
|
+
parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;
|
|
17455
18306
|
};
|
|
17456
18307
|
|
|
17457
18308
|
/**
|
|
@@ -17576,7 +18427,7 @@ interface RTCDataChannelEventMap {
|
|
|
17576
18427
|
"bufferedamountlow": Event;
|
|
17577
18428
|
"close": Event;
|
|
17578
18429
|
"closing": Event;
|
|
17579
|
-
"error":
|
|
18430
|
+
"error": RTCErrorEvent;
|
|
17580
18431
|
"message": MessageEvent;
|
|
17581
18432
|
"open": Event;
|
|
17582
18433
|
}
|
|
@@ -17606,7 +18457,7 @@ interface RTCDataChannel extends EventTarget {
|
|
|
17606
18457
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/closing_event) */
|
|
17607
18458
|
onclosing: ((this: RTCDataChannel, ev: Event) => any) | null;
|
|
17608
18459
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/error_event) */
|
|
17609
|
-
onerror: ((this: RTCDataChannel, ev:
|
|
18460
|
+
onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null;
|
|
17610
18461
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/message_event) */
|
|
17611
18462
|
onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;
|
|
17612
18463
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/open_event) */
|
|
@@ -17647,7 +18498,7 @@ declare var RTCDataChannelEvent: {
|
|
|
17647
18498
|
};
|
|
17648
18499
|
|
|
17649
18500
|
interface RTCDtlsTransportEventMap {
|
|
17650
|
-
"error":
|
|
18501
|
+
"error": RTCErrorEvent;
|
|
17651
18502
|
"statechange": Event;
|
|
17652
18503
|
}
|
|
17653
18504
|
|
|
@@ -17656,7 +18507,7 @@ interface RTCDtlsTransport extends EventTarget {
|
|
|
17656
18507
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport) */
|
|
17657
18508
|
readonly iceTransport: RTCIceTransport;
|
|
17658
18509
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */
|
|
17659
|
-
onerror: ((this: RTCDtlsTransport, ev:
|
|
18510
|
+
onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;
|
|
17660
18511
|
onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;
|
|
17661
18512
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state) */
|
|
17662
18513
|
readonly state: RTCDtlsTransportState;
|
|
@@ -17878,9 +18729,9 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
17878
18729
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState) */
|
|
17879
18730
|
readonly signalingState: RTCSignalingState;
|
|
17880
18731
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate) */
|
|
17881
|
-
addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;
|
|
18732
|
+
addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise<void>;
|
|
17882
18733
|
/** @deprecated */
|
|
17883
|
-
addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
|
|
18734
|
+
addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
|
|
17884
18735
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */
|
|
17885
18736
|
addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;
|
|
17886
18737
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) */
|
|
@@ -18284,7 +19135,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
|
18284
19135
|
|
|
18285
19136
|
declare var ReadableStreamBYOBReader: {
|
|
18286
19137
|
prototype: ReadableStreamBYOBReader;
|
|
18287
|
-
new(stream: ReadableStream): ReadableStreamBYOBReader;
|
|
19138
|
+
new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
|
|
18288
19139
|
};
|
|
18289
19140
|
|
|
18290
19141
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
|
|
@@ -19866,14 +20717,23 @@ declare var SVGLength: {
|
|
|
19866
20717
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList)
|
|
19867
20718
|
*/
|
|
19868
20719
|
interface SVGLengthList {
|
|
20720
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length) */
|
|
19869
20721
|
readonly length: number;
|
|
20722
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems) */
|
|
19870
20723
|
readonly numberOfItems: number;
|
|
20724
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem) */
|
|
19871
20725
|
appendItem(newItem: SVGLength): SVGLength;
|
|
20726
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear) */
|
|
19872
20727
|
clear(): void;
|
|
20728
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem) */
|
|
19873
20729
|
getItem(index: number): SVGLength;
|
|
20730
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize) */
|
|
19874
20731
|
initialize(newItem: SVGLength): SVGLength;
|
|
20732
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore) */
|
|
19875
20733
|
insertItemBefore(newItem: SVGLength, index: number): SVGLength;
|
|
20734
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem) */
|
|
19876
20735
|
removeItem(index: number): SVGLength;
|
|
20736
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem) */
|
|
19877
20737
|
replaceItem(newItem: SVGLength, index: number): SVGLength;
|
|
19878
20738
|
[index: number]: SVGLength;
|
|
19879
20739
|
}
|
|
@@ -21606,7 +22466,7 @@ interface SubtleCrypto {
|
|
|
21606
22466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */
|
|
21607
22467
|
decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
|
|
21608
22468
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */
|
|
21609
|
-
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length
|
|
22469
|
+
deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;
|
|
21610
22470
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
|
|
21611
22471
|
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
|
|
21612
22472
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */
|
|
@@ -21771,11 +22631,27 @@ declare var TextEncoderStream: {
|
|
|
21771
22631
|
new(): TextEncoderStream;
|
|
21772
22632
|
};
|
|
21773
22633
|
|
|
22634
|
+
/**
|
|
22635
|
+
* @deprecated
|
|
22636
|
+
*
|
|
22637
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent)
|
|
22638
|
+
*/
|
|
21774
22639
|
interface TextEvent extends UIEvent {
|
|
22640
|
+
/**
|
|
22641
|
+
* @deprecated
|
|
22642
|
+
*
|
|
22643
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/data)
|
|
22644
|
+
*/
|
|
21775
22645
|
readonly data: string;
|
|
22646
|
+
/**
|
|
22647
|
+
* @deprecated
|
|
22648
|
+
*
|
|
22649
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/initTextEvent)
|
|
22650
|
+
*/
|
|
21776
22651
|
initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void;
|
|
21777
22652
|
}
|
|
21778
22653
|
|
|
22654
|
+
/** @deprecated */
|
|
21779
22655
|
declare var TextEvent: {
|
|
21780
22656
|
prototype: TextEvent;
|
|
21781
22657
|
new(): TextEvent;
|
|
@@ -22057,7 +22933,7 @@ interface TextTrackList extends EventTarget {
|
|
|
22057
22933
|
onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22058
22934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */
|
|
22059
22935
|
onchange: ((this: TextTrackList, ev: Event) => any) | null;
|
|
22060
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/
|
|
22936
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
|
|
22061
22937
|
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
|
|
22062
22938
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */
|
|
22063
22939
|
getTrackById(id: string): TextTrack | null;
|
|
@@ -22442,7 +23318,7 @@ declare var URLSearchParams: {
|
|
|
22442
23318
|
interface UserActivation {
|
|
22443
23319
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */
|
|
22444
23320
|
readonly hasBeenActive: boolean;
|
|
22445
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/
|
|
23321
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/isActive) */
|
|
22446
23322
|
readonly isActive: boolean;
|
|
22447
23323
|
}
|
|
22448
23324
|
|
|
@@ -22511,6 +23387,7 @@ declare var VTTRegion: {
|
|
|
22511
23387
|
interface ValidityState {
|
|
22512
23388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */
|
|
22513
23389
|
readonly badInput: boolean;
|
|
23390
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */
|
|
22514
23391
|
readonly customError: boolean;
|
|
22515
23392
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */
|
|
22516
23393
|
readonly patternMismatch: boolean;
|
|
@@ -22526,6 +23403,7 @@ interface ValidityState {
|
|
|
22526
23403
|
readonly tooShort: boolean;
|
|
22527
23404
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */
|
|
22528
23405
|
readonly typeMismatch: boolean;
|
|
23406
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */
|
|
22529
23407
|
readonly valid: boolean;
|
|
22530
23408
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */
|
|
22531
23409
|
readonly valueMissing: boolean;
|
|
@@ -23589,13 +24467,13 @@ interface WebGL2RenderingContextBase {
|
|
|
23589
24467
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */
|
|
23590
24468
|
copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
|
23591
24469
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createQuery) */
|
|
23592
|
-
createQuery(): WebGLQuery
|
|
24470
|
+
createQuery(): WebGLQuery;
|
|
23593
24471
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createSampler) */
|
|
23594
|
-
createSampler(): WebGLSampler
|
|
24472
|
+
createSampler(): WebGLSampler;
|
|
23595
24473
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createTransformFeedback) */
|
|
23596
|
-
createTransformFeedback(): WebGLTransformFeedback
|
|
24474
|
+
createTransformFeedback(): WebGLTransformFeedback;
|
|
23597
24475
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createVertexArray) */
|
|
23598
|
-
createVertexArray(): WebGLVertexArrayObject
|
|
24476
|
+
createVertexArray(): WebGLVertexArrayObject;
|
|
23599
24477
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteQuery) */
|
|
23600
24478
|
deleteQuery(query: WebGLQuery | null): void;
|
|
23601
24479
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSampler) */
|
|
@@ -24510,17 +25388,17 @@ interface WebGLRenderingContextBase {
|
|
|
24510
25388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */
|
|
24511
25389
|
copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
|
24512
25390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */
|
|
24513
|
-
createBuffer(): WebGLBuffer
|
|
25391
|
+
createBuffer(): WebGLBuffer;
|
|
24514
25392
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */
|
|
24515
|
-
createFramebuffer(): WebGLFramebuffer
|
|
25393
|
+
createFramebuffer(): WebGLFramebuffer;
|
|
24516
25394
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */
|
|
24517
|
-
createProgram(): WebGLProgram
|
|
25395
|
+
createProgram(): WebGLProgram;
|
|
24518
25396
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */
|
|
24519
|
-
createRenderbuffer(): WebGLRenderbuffer
|
|
25397
|
+
createRenderbuffer(): WebGLRenderbuffer;
|
|
24520
25398
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */
|
|
24521
25399
|
createShader(type: GLenum): WebGLShader | null;
|
|
24522
25400
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */
|
|
24523
|
-
createTexture(): WebGLTexture
|
|
25401
|
+
createTexture(): WebGLTexture;
|
|
24524
25402
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */
|
|
24525
25403
|
cullFace(mode: GLenum): void;
|
|
24526
25404
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */
|
|
@@ -25778,7 +26656,7 @@ interface WindowOrWorkerGlobalScope {
|
|
|
25778
26656
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
25779
26657
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
25780
26658
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
25781
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
|
|
26659
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
25782
26660
|
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
25783
26661
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
|
|
25784
26662
|
queueMicrotask(callback: VoidFunction): void;
|
|
@@ -26167,7 +27045,11 @@ declare var XPathEvaluator: {
|
|
|
26167
27045
|
interface XPathEvaluatorBase {
|
|
26168
27046
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createExpression) */
|
|
26169
27047
|
createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;
|
|
26170
|
-
/**
|
|
27048
|
+
/**
|
|
27049
|
+
* @deprecated
|
|
27050
|
+
*
|
|
27051
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNSResolver)
|
|
27052
|
+
*/
|
|
26171
27053
|
createNSResolver(nodeResolver: Node): Node;
|
|
26172
27054
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/evaluate) */
|
|
26173
27055
|
evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;
|
|
@@ -26276,7 +27158,7 @@ interface Console {
|
|
|
26276
27158
|
clear(): void;
|
|
26277
27159
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
26278
27160
|
count(label?: string): void;
|
|
26279
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
27161
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
|
26280
27162
|
countReset(label?: string): void;
|
|
26281
27163
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
26282
27164
|
debug(...data: any[]): void;
|
|
@@ -26288,9 +27170,9 @@ interface Console {
|
|
|
26288
27170
|
error(...data: any[]): void;
|
|
26289
27171
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
26290
27172
|
group(...data: any[]): void;
|
|
26291
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
27173
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
|
26292
27174
|
groupCollapsed(...data: any[]): void;
|
|
26293
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
27175
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
|
26294
27176
|
groupEnd(): void;
|
|
26295
27177
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
26296
27178
|
info(...data: any[]): void;
|
|
@@ -26300,9 +27182,9 @@ interface Console {
|
|
|
26300
27182
|
table(tabularData?: any, properties?: string[]): void;
|
|
26301
27183
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
26302
27184
|
time(label?: string): void;
|
|
26303
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
27185
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
|
26304
27186
|
timeEnd(label?: string): void;
|
|
26305
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
27187
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
|
26306
27188
|
timeLog(label?: string, ...data: any[]): void;
|
|
26307
27189
|
timeStamp(label?: string): void;
|
|
26308
27190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
@@ -26601,6 +27483,10 @@ declare namespace WebAssembly {
|
|
|
26601
27483
|
function validate(bytes: BufferSource): boolean;
|
|
26602
27484
|
}
|
|
26603
27485
|
|
|
27486
|
+
interface AudioDataOutputCallback {
|
|
27487
|
+
(output: AudioData): void;
|
|
27488
|
+
}
|
|
27489
|
+
|
|
26604
27490
|
interface BlobCallback {
|
|
26605
27491
|
(blob: Blob | null): void;
|
|
26606
27492
|
}
|
|
@@ -26617,6 +27503,10 @@ interface DecodeSuccessCallback {
|
|
|
26617
27503
|
(decodedData: AudioBuffer): void;
|
|
26618
27504
|
}
|
|
26619
27505
|
|
|
27506
|
+
interface EncodedAudioChunkOutputCallback {
|
|
27507
|
+
(output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void;
|
|
27508
|
+
}
|
|
27509
|
+
|
|
26620
27510
|
interface EncodedVideoChunkOutputCallback {
|
|
26621
27511
|
(chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void;
|
|
26622
27512
|
}
|
|
@@ -26753,10 +27643,6 @@ interface UnderlyingSourceStartCallback<R> {
|
|
|
26753
27643
|
(controller: ReadableStreamController<R>): any;
|
|
26754
27644
|
}
|
|
26755
27645
|
|
|
26756
|
-
interface UpdateCallback {
|
|
26757
|
-
(): any;
|
|
26758
|
-
}
|
|
26759
|
-
|
|
26760
27646
|
interface VideoFrameOutputCallback {
|
|
26761
27647
|
(output: VideoFrame): void;
|
|
26762
27648
|
}
|
|
@@ -26765,6 +27651,10 @@ interface VideoFrameRequestCallback {
|
|
|
26765
27651
|
(now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
|
|
26766
27652
|
}
|
|
26767
27653
|
|
|
27654
|
+
interface ViewTransitionUpdateCallback {
|
|
27655
|
+
(): any;
|
|
27656
|
+
}
|
|
27657
|
+
|
|
26768
27658
|
interface VoidFunction {
|
|
26769
27659
|
(): void;
|
|
26770
27660
|
}
|
|
@@ -27814,7 +28704,7 @@ declare function clearTimeout(id: number | undefined): void;
|
|
|
27814
28704
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
|
|
27815
28705
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
27816
28706
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
27817
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
|
|
28707
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
|
|
27818
28708
|
declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
|
|
27819
28709
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
|
|
27820
28710
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
@@ -27837,8 +28727,8 @@ type AllowSharedBufferSource = ArrayBuffer | ArrayBufferView;
|
|
|
27837
28727
|
type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;
|
|
27838
28728
|
type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
|
|
27839
28729
|
type AutoFillSection = `section-${string}`;
|
|
28730
|
+
type Base64URLString = string;
|
|
27840
28731
|
type BigInteger = Uint8Array;
|
|
27841
|
-
type BinaryData = ArrayBuffer | ArrayBufferView;
|
|
27842
28732
|
type BlobPart = BufferSource | Blob | string;
|
|
27843
28733
|
type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
|
|
27844
28734
|
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
@@ -27890,6 +28780,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
|
27890
28780
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
27891
28781
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
27892
28782
|
type PerformanceEntryList = PerformanceEntry[];
|
|
28783
|
+
type PublicKeyCredentialJSON = any;
|
|
27893
28784
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
27894
28785
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
27895
28786
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -27899,7 +28790,7 @@ type ReportList = Report[];
|
|
|
27899
28790
|
type RequestInfo = Request | string;
|
|
27900
28791
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
27901
28792
|
type TimerHandler = string | Function;
|
|
27902
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
|
|
28793
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | ArrayBuffer;
|
|
27903
28794
|
type Uint32List = Uint32Array | GLuint[];
|
|
27904
28795
|
type VibratePattern = number | number[];
|
|
27905
28796
|
type WindowProxy = Window;
|
|
@@ -27912,6 +28803,7 @@ type AppendMode = "segments" | "sequence";
|
|
|
27912
28803
|
type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
|
|
27913
28804
|
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
27914
28805
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
28806
|
+
type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
|
|
27915
28807
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
27916
28808
|
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
27917
28809
|
type AutoFillAddressKind = "billing" | "shipping";
|
|
@@ -27925,6 +28817,7 @@ type AutomationRate = "a-rate" | "k-rate";
|
|
|
27925
28817
|
type AvcBitstreamFormat = "annexb" | "avc";
|
|
27926
28818
|
type BinaryType = "arraybuffer" | "blob";
|
|
27927
28819
|
type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
|
|
28820
|
+
type BitrateMode = "constant" | "variable";
|
|
27928
28821
|
type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
|
|
27929
28822
|
type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
|
|
27930
28823
|
type CanPlayTypeResult = "" | "maybe" | "probably";
|
|
@@ -27954,6 +28847,7 @@ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
|
|
|
27954
28847
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
27955
28848
|
type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
27956
28849
|
type DocumentVisibilityState = "hidden" | "visible";
|
|
28850
|
+
type EncodedAudioChunkType = "delta" | "key";
|
|
27957
28851
|
type EncodedVideoChunkType = "delta" | "key";
|
|
27958
28852
|
type EndOfStreamError = "decode" | "network";
|
|
27959
28853
|
type EndingType = "native" | "transparent";
|
|
@@ -28002,12 +28896,14 @@ type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"
|
|
|
28002
28896
|
type NotificationDirection = "auto" | "ltr" | "rtl";
|
|
28003
28897
|
type NotificationPermission = "default" | "denied" | "granted";
|
|
28004
28898
|
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
|
|
28899
|
+
type OpusBitstreamFormat = "ogg" | "opus";
|
|
28005
28900
|
type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
|
|
28006
28901
|
type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
|
|
28007
28902
|
type OverSampleType = "2x" | "4x" | "none";
|
|
28008
28903
|
type PanningModelType = "HRTF" | "equalpower";
|
|
28009
28904
|
type PaymentComplete = "fail" | "success" | "unknown";
|
|
28010
|
-
type
|
|
28905
|
+
type PaymentShippingType = "delivery" | "pickup" | "shipping";
|
|
28906
|
+
type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
|
|
28011
28907
|
type PermissionState = "denied" | "granted" | "prompt";
|
|
28012
28908
|
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
|
|
28013
28909
|
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
|