typescript 5.3.3 → 5.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/cancellationToken.js +0 -1
- package/lib/cs/diagnosticMessages.generated.json +1 -1
- package/lib/de/diagnosticMessages.generated.json +1 -1
- package/lib/es/diagnosticMessages.generated.json +1 -1
- package/lib/fr/diagnosticMessages.generated.json +1 -1
- package/lib/it/diagnosticMessages.generated.json +1 -1
- package/lib/ja/diagnosticMessages.generated.json +1 -1
- package/lib/ko/diagnosticMessages.generated.json +1 -1
- package/lib/lib.dom.asynciterable.d.ts +28 -0
- package/lib/lib.dom.d.ts +363 -153
- package/lib/lib.dom.iterable.d.ts +35 -28
- package/lib/lib.es2016.d.ts +1 -0
- package/lib/lib.es2016.intl.d.ts +31 -0
- package/lib/lib.es2018.full.d.ts +1 -0
- package/lib/lib.es2018.intl.d.ts +6 -5
- package/lib/lib.es2019.full.d.ts +1 -0
- package/lib/lib.es2020.full.d.ts +1 -0
- package/lib/lib.es2020.intl.d.ts +36 -16
- package/lib/lib.es2020.string.d.ts +15 -1
- package/lib/lib.es2021.full.d.ts +1 -0
- package/lib/lib.es2021.intl.d.ts +2 -2
- package/lib/lib.es2022.full.d.ts +1 -0
- package/lib/lib.es2022.intl.d.ts +2 -2
- package/lib/lib.es2023.full.d.ts +1 -0
- package/lib/lib.es5.d.ts +21 -6
- package/lib/lib.esnext.collection.d.ts +29 -0
- package/lib/lib.esnext.d.ts +3 -0
- package/lib/lib.esnext.disposable.d.ts +1 -1
- package/lib/lib.esnext.full.d.ts +1 -0
- package/lib/lib.esnext.object.d.ts +29 -0
- package/lib/lib.esnext.promise.d.ts +35 -0
- package/lib/lib.webworker.asynciterable.d.ts +28 -0
- package/lib/lib.webworker.d.ts +202 -111
- package/lib/lib.webworker.iterable.d.ts +29 -28
- package/lib/pl/diagnosticMessages.generated.json +1 -1
- package/lib/pt-br/diagnosticMessages.generated.json +1 -1
- package/lib/ru/diagnosticMessages.generated.json +1 -1
- package/lib/tr/diagnosticMessages.generated.json +1 -1
- package/lib/tsc.js +2685 -1330
- package/lib/tsserver.js +4611 -2423
- package/lib/typescript.d.ts +95 -30
- package/lib/typescript.js +4568 -2219
- package/lib/typingsInstaller.js +501 -218
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -1
- package/package.json +28 -29
package/lib/lib.dom.d.ts
CHANGED
|
@@ -136,6 +136,7 @@ interface AuthenticationExtensionsClientInputs {
|
|
|
136
136
|
appid?: string;
|
|
137
137
|
credProps?: boolean;
|
|
138
138
|
hmacCreateSecret?: boolean;
|
|
139
|
+
minPinLength?: boolean;
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
interface AuthenticationExtensionsClientOutputs {
|
|
@@ -461,7 +462,7 @@ interface ElementDefinitionOptions {
|
|
|
461
462
|
}
|
|
462
463
|
|
|
463
464
|
interface EncodedVideoChunkInit {
|
|
464
|
-
data:
|
|
465
|
+
data: AllowSharedBufferSource;
|
|
465
466
|
duration?: number;
|
|
466
467
|
timestamp: number;
|
|
467
468
|
type: EncodedVideoChunkType;
|
|
@@ -552,7 +553,6 @@ interface FontFaceDescriptors {
|
|
|
552
553
|
stretch?: string;
|
|
553
554
|
style?: string;
|
|
554
555
|
unicodeRange?: string;
|
|
555
|
-
variant?: string;
|
|
556
556
|
weight?: string;
|
|
557
557
|
}
|
|
558
558
|
|
|
@@ -1018,27 +1018,16 @@ interface NavigationPreloadState {
|
|
|
1018
1018
|
headerValue?: string;
|
|
1019
1019
|
}
|
|
1020
1020
|
|
|
1021
|
-
interface NotificationAction {
|
|
1022
|
-
action: string;
|
|
1023
|
-
icon?: string;
|
|
1024
|
-
title: string;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
1021
|
interface NotificationOptions {
|
|
1028
|
-
actions?: NotificationAction[];
|
|
1029
1022
|
badge?: string;
|
|
1030
1023
|
body?: string;
|
|
1031
1024
|
data?: any;
|
|
1032
1025
|
dir?: NotificationDirection;
|
|
1033
1026
|
icon?: string;
|
|
1034
|
-
image?: string;
|
|
1035
1027
|
lang?: string;
|
|
1036
|
-
renotify?: boolean;
|
|
1037
1028
|
requireInteraction?: boolean;
|
|
1038
1029
|
silent?: boolean | null;
|
|
1039
1030
|
tag?: string;
|
|
1040
|
-
timestamp?: EpochTimeStamp;
|
|
1041
|
-
vibrate?: VibratePattern;
|
|
1042
1031
|
}
|
|
1043
1032
|
|
|
1044
1033
|
interface OfflineAudioCompletionEventInit extends EventInit {
|
|
@@ -1348,16 +1337,21 @@ interface RTCDtlsFingerprint {
|
|
|
1348
1337
|
|
|
1349
1338
|
interface RTCEncodedAudioFrameMetadata {
|
|
1350
1339
|
contributingSources?: number[];
|
|
1340
|
+
payloadType?: number;
|
|
1341
|
+
sequenceNumber?: number;
|
|
1351
1342
|
synchronizationSource?: number;
|
|
1352
1343
|
}
|
|
1353
1344
|
|
|
1354
1345
|
interface RTCEncodedVideoFrameMetadata {
|
|
1346
|
+
contributingSources?: number[];
|
|
1355
1347
|
dependencies?: number[];
|
|
1356
1348
|
frameId?: number;
|
|
1357
1349
|
height?: number;
|
|
1350
|
+
payloadType?: number;
|
|
1358
1351
|
spatialIndex?: number;
|
|
1359
1352
|
synchronizationSource?: number;
|
|
1360
1353
|
temporalIndex?: number;
|
|
1354
|
+
timestamp?: number;
|
|
1361
1355
|
width?: number;
|
|
1362
1356
|
}
|
|
1363
1357
|
|
|
@@ -1433,7 +1427,6 @@ interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
|
1433
1427
|
jitterBufferDelay?: number;
|
|
1434
1428
|
jitterBufferEmittedCount?: number;
|
|
1435
1429
|
keyFramesDecoded?: number;
|
|
1436
|
-
kind: string;
|
|
1437
1430
|
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1438
1431
|
mid?: string;
|
|
1439
1432
|
nackCount?: number;
|
|
@@ -1486,6 +1479,7 @@ interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
|
1486
1479
|
retransmittedBytesSent?: number;
|
|
1487
1480
|
retransmittedPacketsSent?: number;
|
|
1488
1481
|
rid?: string;
|
|
1482
|
+
rtxSsrc?: number;
|
|
1489
1483
|
targetBitrate?: number;
|
|
1490
1484
|
totalEncodeTime?: number;
|
|
1491
1485
|
totalEncodedBytesTarget?: number;
|
|
@@ -1606,6 +1600,9 @@ interface RTCSessionDescriptionInit {
|
|
|
1606
1600
|
type: RTCSdpType;
|
|
1607
1601
|
}
|
|
1608
1602
|
|
|
1603
|
+
interface RTCSetParameterOptions {
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1609
1606
|
interface RTCStats {
|
|
1610
1607
|
id: string;
|
|
1611
1608
|
timestamp: DOMHighResTimeStamp;
|
|
@@ -1688,6 +1685,7 @@ interface RequestInit {
|
|
|
1688
1685
|
method?: string;
|
|
1689
1686
|
/** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
|
|
1690
1687
|
mode?: RequestMode;
|
|
1688
|
+
priority?: RequestPriority;
|
|
1691
1689
|
/** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
|
|
1692
1690
|
redirect?: RequestRedirect;
|
|
1693
1691
|
/** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
|
|
@@ -2004,7 +2002,7 @@ interface VideoDecoderConfig {
|
|
|
2004
2002
|
codedHeight?: number;
|
|
2005
2003
|
codedWidth?: number;
|
|
2006
2004
|
colorSpace?: VideoColorSpaceInit;
|
|
2007
|
-
description?:
|
|
2005
|
+
description?: AllowSharedBufferSource;
|
|
2008
2006
|
displayAspectHeight?: number;
|
|
2009
2007
|
displayAspectWidth?: number;
|
|
2010
2008
|
hardwareAcceleration?: HardwareAcceleration;
|
|
@@ -2135,7 +2133,7 @@ interface WebTransportOptions {
|
|
|
2135
2133
|
}
|
|
2136
2134
|
|
|
2137
2135
|
interface WebTransportSendStreamOptions {
|
|
2138
|
-
sendOrder?: number
|
|
2136
|
+
sendOrder?: number;
|
|
2139
2137
|
}
|
|
2140
2138
|
|
|
2141
2139
|
interface WheelEventInit extends MouseEventInit {
|
|
@@ -2221,6 +2219,8 @@ interface ARIAMixin {
|
|
|
2221
2219
|
ariaColSpan: string | null;
|
|
2222
2220
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
|
|
2223
2221
|
ariaCurrent: string | null;
|
|
2222
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
|
|
2223
|
+
ariaDescription: string | null;
|
|
2224
2224
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
|
|
2225
2225
|
ariaDisabled: string | null;
|
|
2226
2226
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
|
|
@@ -2531,7 +2531,9 @@ declare var AnimationEvent: {
|
|
|
2531
2531
|
};
|
|
2532
2532
|
|
|
2533
2533
|
interface AnimationFrameProvider {
|
|
2534
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
|
|
2534
2535
|
cancelAnimationFrame(handle: number): void;
|
|
2536
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
|
|
2535
2537
|
requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
2536
2538
|
}
|
|
2537
2539
|
|
|
@@ -2948,8 +2950,11 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2948
2950
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2949
2951
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/attestationObject) */
|
|
2950
2952
|
readonly attestationObject: ArrayBuffer;
|
|
2953
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getAuthenticatorData) */
|
|
2951
2954
|
getAuthenticatorData(): ArrayBuffer;
|
|
2955
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKey) */
|
|
2952
2956
|
getPublicKey(): ArrayBuffer | null;
|
|
2957
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKeyAlgorithm) */
|
|
2953
2958
|
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
|
|
2954
2959
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getTransports) */
|
|
2955
2960
|
getTransports(): string[];
|
|
@@ -3069,6 +3074,7 @@ declare var BaseAudioContext: {
|
|
|
3069
3074
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent)
|
|
3070
3075
|
*/
|
|
3071
3076
|
interface BeforeUnloadEvent extends Event {
|
|
3077
|
+
/** @deprecated */
|
|
3072
3078
|
returnValue: any;
|
|
3073
3079
|
}
|
|
3074
3080
|
|
|
@@ -3378,6 +3384,8 @@ interface CSSImportRule extends CSSRule {
|
|
|
3378
3384
|
readonly media: MediaList;
|
|
3379
3385
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
|
|
3380
3386
|
readonly styleSheet: CSSStyleSheet | null;
|
|
3387
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
|
|
3388
|
+
readonly supportsText: string | null;
|
|
3381
3389
|
}
|
|
3382
3390
|
|
|
3383
3391
|
declare var CSSImportRule: {
|
|
@@ -3726,6 +3734,8 @@ interface CSSRule {
|
|
|
3726
3734
|
readonly KEYFRAMES_RULE: 7;
|
|
3727
3735
|
readonly KEYFRAME_RULE: 8;
|
|
3728
3736
|
readonly SUPPORTS_RULE: 12;
|
|
3737
|
+
readonly COUNTER_STYLE_RULE: 11;
|
|
3738
|
+
readonly FONT_FEATURE_VALUES_RULE: 14;
|
|
3729
3739
|
}
|
|
3730
3740
|
|
|
3731
3741
|
declare var CSSRule: {
|
|
@@ -3741,6 +3751,8 @@ declare var CSSRule: {
|
|
|
3741
3751
|
readonly KEYFRAMES_RULE: 7;
|
|
3742
3752
|
readonly KEYFRAME_RULE: 8;
|
|
3743
3753
|
readonly SUPPORTS_RULE: 12;
|
|
3754
|
+
readonly COUNTER_STYLE_RULE: 11;
|
|
3755
|
+
readonly FONT_FEATURE_VALUES_RULE: 14;
|
|
3744
3756
|
};
|
|
3745
3757
|
|
|
3746
3758
|
/**
|
|
@@ -3881,6 +3893,8 @@ interface CSSStyleDeclaration {
|
|
|
3881
3893
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */
|
|
3882
3894
|
backgroundSize: string;
|
|
3883
3895
|
baselineShift: string;
|
|
3896
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/baseline-source) */
|
|
3897
|
+
baselineSource: string;
|
|
3884
3898
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */
|
|
3885
3899
|
blockSize: string;
|
|
3886
3900
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border) */
|
|
@@ -4090,6 +4104,9 @@ interface CSSStyleDeclaration {
|
|
|
4090
4104
|
cssText: string;
|
|
4091
4105
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
|
|
4092
4106
|
cursor: string;
|
|
4107
|
+
cx: string;
|
|
4108
|
+
cy: string;
|
|
4109
|
+
d: string;
|
|
4093
4110
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
|
|
4094
4111
|
direction: string;
|
|
4095
4112
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */
|
|
@@ -4309,6 +4326,8 @@ interface CSSStyleDeclaration {
|
|
|
4309
4326
|
maskSize: string;
|
|
4310
4327
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-type) */
|
|
4311
4328
|
maskType: string;
|
|
4329
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/math-depth) */
|
|
4330
|
+
mathDepth: string;
|
|
4312
4331
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/math-style) */
|
|
4313
4332
|
mathStyle: string;
|
|
4314
4333
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/max-block-size) */
|
|
@@ -4335,10 +4354,14 @@ interface CSSStyleDeclaration {
|
|
|
4335
4354
|
objectPosition: string;
|
|
4336
4355
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset) */
|
|
4337
4356
|
offset: string;
|
|
4357
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-anchor) */
|
|
4358
|
+
offsetAnchor: string;
|
|
4338
4359
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-distance) */
|
|
4339
4360
|
offsetDistance: string;
|
|
4340
4361
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-path) */
|
|
4341
4362
|
offsetPath: string;
|
|
4363
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-position) */
|
|
4364
|
+
offsetPosition: string;
|
|
4342
4365
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-rotate) */
|
|
4343
4366
|
offsetRotate: string;
|
|
4344
4367
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/opacity) */
|
|
@@ -4431,6 +4454,7 @@ interface CSSStyleDeclaration {
|
|
|
4431
4454
|
printColorAdjust: string;
|
|
4432
4455
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
|
|
4433
4456
|
quotes: string;
|
|
4457
|
+
r: string;
|
|
4434
4458
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/resize) */
|
|
4435
4459
|
resize: string;
|
|
4436
4460
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/right) */
|
|
@@ -4441,6 +4465,8 @@ interface CSSStyleDeclaration {
|
|
|
4441
4465
|
rowGap: string;
|
|
4442
4466
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */
|
|
4443
4467
|
rubyPosition: string;
|
|
4468
|
+
rx: string;
|
|
4469
|
+
ry: string;
|
|
4444
4470
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scale) */
|
|
4445
4471
|
scale: string;
|
|
4446
4472
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-behavior) */
|
|
@@ -4495,8 +4521,12 @@ interface CSSStyleDeclaration {
|
|
|
4495
4521
|
scrollSnapStop: string;
|
|
4496
4522
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */
|
|
4497
4523
|
scrollSnapType: string;
|
|
4524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */
|
|
4525
|
+
scrollbarColor: string;
|
|
4498
4526
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */
|
|
4499
4527
|
scrollbarGutter: string;
|
|
4528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-width) */
|
|
4529
|
+
scrollbarWidth: string;
|
|
4500
4530
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold) */
|
|
4501
4531
|
shapeImageThreshold: string;
|
|
4502
4532
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-margin) */
|
|
@@ -4561,6 +4591,8 @@ interface CSSStyleDeclaration {
|
|
|
4561
4591
|
textUnderlineOffset: string;
|
|
4562
4592
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-underline-position) */
|
|
4563
4593
|
textUnderlinePosition: string;
|
|
4594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */
|
|
4595
|
+
textWrap: string;
|
|
4564
4596
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */
|
|
4565
4597
|
top: string;
|
|
4566
4598
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */
|
|
@@ -4589,6 +4621,7 @@ interface CSSStyleDeclaration {
|
|
|
4589
4621
|
unicodeBidi: string;
|
|
4590
4622
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */
|
|
4591
4623
|
userSelect: string;
|
|
4624
|
+
vectorEffect: string;
|
|
4592
4625
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
|
|
4593
4626
|
verticalAlign: string;
|
|
4594
4627
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */
|
|
@@ -4871,7 +4904,11 @@ interface CSSStyleDeclaration {
|
|
|
4871
4904
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-clip)
|
|
4872
4905
|
*/
|
|
4873
4906
|
webkitMaskClip: string;
|
|
4874
|
-
/**
|
|
4907
|
+
/**
|
|
4908
|
+
* @deprecated This is a legacy alias of `maskComposite`.
|
|
4909
|
+
*
|
|
4910
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-composite)
|
|
4911
|
+
*/
|
|
4875
4912
|
webkitMaskComposite: string;
|
|
4876
4913
|
/**
|
|
4877
4914
|
* @deprecated This is a legacy alias of `maskImage`.
|
|
@@ -5001,14 +5038,12 @@ interface CSSStyleDeclaration {
|
|
|
5001
5038
|
wordBreak: string;
|
|
5002
5039
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/word-spacing) */
|
|
5003
5040
|
wordSpacing: string;
|
|
5004
|
-
/**
|
|
5005
|
-
* @deprecated
|
|
5006
|
-
*
|
|
5007
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap)
|
|
5008
|
-
*/
|
|
5041
|
+
/** @deprecated */
|
|
5009
5042
|
wordWrap: string;
|
|
5010
5043
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */
|
|
5011
5044
|
writingMode: string;
|
|
5045
|
+
x: string;
|
|
5046
|
+
y: string;
|
|
5012
5047
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */
|
|
5013
5048
|
zIndex: string;
|
|
5014
5049
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority) */
|
|
@@ -5034,16 +5069,13 @@ declare var CSSStyleDeclaration: {
|
|
|
5034
5069
|
*
|
|
5035
5070
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule)
|
|
5036
5071
|
*/
|
|
5037
|
-
interface CSSStyleRule extends
|
|
5038
|
-
readonly cssRules: CSSRuleList;
|
|
5072
|
+
interface CSSStyleRule extends CSSGroupingRule {
|
|
5039
5073
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/selectorText) */
|
|
5040
5074
|
selectorText: string;
|
|
5041
5075
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style) */
|
|
5042
5076
|
readonly style: CSSStyleDeclaration;
|
|
5043
5077
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap) */
|
|
5044
5078
|
readonly styleMap: StylePropertyMap;
|
|
5045
|
-
deleteRule(index: number): void;
|
|
5046
|
-
insertRule(rule: string, index?: number): number;
|
|
5047
5079
|
}
|
|
5048
5080
|
|
|
5049
5081
|
declare var CSSStyleRule: {
|
|
@@ -5504,10 +5536,20 @@ interface CanvasTextDrawingStyles {
|
|
|
5504
5536
|
font: string;
|
|
5505
5537
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontKerning) */
|
|
5506
5538
|
fontKerning: CanvasFontKerning;
|
|
5539
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontStretch) */
|
|
5540
|
+
fontStretch: CanvasFontStretch;
|
|
5541
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
|
|
5542
|
+
fontVariantCaps: CanvasFontVariantCaps;
|
|
5543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
|
|
5544
|
+
letterSpacing: string;
|
|
5507
5545
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
|
|
5508
5546
|
textAlign: CanvasTextAlign;
|
|
5509
5547
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textBaseline) */
|
|
5510
5548
|
textBaseline: CanvasTextBaseline;
|
|
5549
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textRendering) */
|
|
5550
|
+
textRendering: CanvasTextRendering;
|
|
5551
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/wordSpacing) */
|
|
5552
|
+
wordSpacing: string;
|
|
5511
5553
|
}
|
|
5512
5554
|
|
|
5513
5555
|
interface CanvasTransform {
|
|
@@ -5831,7 +5873,7 @@ interface CredentialsContainer {
|
|
|
5831
5873
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/preventSilentAccess) */
|
|
5832
5874
|
preventSilentAccess(): Promise<void>;
|
|
5833
5875
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/store) */
|
|
5834
|
-
store(credential: Credential): Promise<
|
|
5876
|
+
store(credential: Credential): Promise<void>;
|
|
5835
5877
|
}
|
|
5836
5878
|
|
|
5837
5879
|
declare var CredentialsContainer: {
|
|
@@ -5894,6 +5936,8 @@ interface CustomElementRegistry {
|
|
|
5894
5936
|
define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
|
5895
5937
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get) */
|
|
5896
5938
|
get(name: string): CustomElementConstructor | undefined;
|
|
5939
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName) */
|
|
5940
|
+
getName(constructor: CustomElementConstructor): string | null;
|
|
5897
5941
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade) */
|
|
5898
5942
|
upgrade(root: Node): void;
|
|
5899
5943
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined) */
|
|
@@ -7683,6 +7727,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
|
|
|
7683
7727
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attachShadow)
|
|
7684
7728
|
*/
|
|
7685
7729
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
7730
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/checkVisibility) */
|
|
7686
7731
|
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
7687
7732
|
/**
|
|
7688
7733
|
* Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
|
|
@@ -7950,7 +7995,7 @@ interface EncodedVideoChunk {
|
|
|
7950
7995
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/type) */
|
|
7951
7996
|
readonly type: EncodedVideoChunkType;
|
|
7952
7997
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/copyTo) */
|
|
7953
|
-
copyTo(destination:
|
|
7998
|
+
copyTo(destination: AllowSharedBufferSource): void;
|
|
7954
7999
|
}
|
|
7955
8000
|
|
|
7956
8001
|
declare var EncodedVideoChunk: {
|
|
@@ -8328,7 +8373,11 @@ interface FileReader extends EventTarget {
|
|
|
8328
8373
|
abort(): void;
|
|
8329
8374
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsArrayBuffer) */
|
|
8330
8375
|
readAsArrayBuffer(blob: Blob): void;
|
|
8331
|
-
/**
|
|
8376
|
+
/**
|
|
8377
|
+
* @deprecated
|
|
8378
|
+
*
|
|
8379
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsBinaryString)
|
|
8380
|
+
*/
|
|
8332
8381
|
readAsBinaryString(blob: Blob): void;
|
|
8333
8382
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL) */
|
|
8334
8383
|
readAsDataURL(blob: Blob): void;
|
|
@@ -8539,8 +8588,6 @@ interface FontFace {
|
|
|
8539
8588
|
style: string;
|
|
8540
8589
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */
|
|
8541
8590
|
unicodeRange: string;
|
|
8542
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variant) */
|
|
8543
|
-
variant: string;
|
|
8544
8591
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/weight) */
|
|
8545
8592
|
weight: string;
|
|
8546
8593
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/load) */
|
|
@@ -8675,8 +8722,6 @@ interface Gamepad {
|
|
|
8675
8722
|
readonly buttons: ReadonlyArray<GamepadButton>;
|
|
8676
8723
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/connected) */
|
|
8677
8724
|
readonly connected: boolean;
|
|
8678
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/hapticActuators) */
|
|
8679
|
-
readonly hapticActuators: ReadonlyArray<GamepadHapticActuator>;
|
|
8680
8725
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/id) */
|
|
8681
8726
|
readonly id: string;
|
|
8682
8727
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/index) */
|
|
@@ -8843,6 +8888,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
8843
8888
|
"animationstart": AnimationEvent;
|
|
8844
8889
|
"auxclick": MouseEvent;
|
|
8845
8890
|
"beforeinput": InputEvent;
|
|
8891
|
+
"beforetoggle": Event;
|
|
8846
8892
|
"blur": FocusEvent;
|
|
8847
8893
|
"cancel": Event;
|
|
8848
8894
|
"canplay": Event;
|
|
@@ -8956,8 +9002,10 @@ interface GlobalEventHandlers {
|
|
|
8956
9002
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
8957
9003
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
|
|
8958
9004
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
8959
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9005
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
|
|
8960
9006
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
9007
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
9008
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
8961
9009
|
/**
|
|
8962
9010
|
* Fires when the object loses the input focus.
|
|
8963
9011
|
* @param ev The focus event.
|
|
@@ -9095,7 +9143,7 @@ interface GlobalEventHandlers {
|
|
|
9095
9143
|
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
9096
9144
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
|
|
9097
9145
|
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
9098
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9146
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
|
|
9099
9147
|
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9100
9148
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
|
|
9101
9149
|
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -9149,7 +9197,7 @@ interface GlobalEventHandlers {
|
|
|
9149
9197
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
|
|
9150
9198
|
*/
|
|
9151
9199
|
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9152
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
9200
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */
|
|
9153
9201
|
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
9154
9202
|
/**
|
|
9155
9203
|
* Fires when the user clicks the object with either mouse button.
|
|
@@ -9940,6 +9988,7 @@ declare var HTMLDataListElement: {
|
|
|
9940
9988
|
|
|
9941
9989
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
|
|
9942
9990
|
interface HTMLDetailsElement extends HTMLElement {
|
|
9991
|
+
name: string;
|
|
9943
9992
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
9944
9993
|
open: boolean;
|
|
9945
9994
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10084,6 +10133,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10084
10133
|
spellcheck: boolean;
|
|
10085
10134
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) */
|
|
10086
10135
|
title: string;
|
|
10136
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
|
|
10087
10137
|
translate: boolean;
|
|
10088
10138
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */
|
|
10089
10139
|
attachInternals(): ElementInternals;
|
|
@@ -10094,7 +10144,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10094
10144
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover) */
|
|
10095
10145
|
showPopover(): void;
|
|
10096
10146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover) */
|
|
10097
|
-
togglePopover(force?: boolean):
|
|
10147
|
+
togglePopover(force?: boolean): boolean;
|
|
10098
10148
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10099
10149
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
10100
10150
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -10829,6 +10879,8 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
10829
10879
|
readonly currentSrc: string;
|
|
10830
10880
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
|
|
10831
10881
|
decoding: "async" | "sync" | "auto";
|
|
10882
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
|
|
10883
|
+
fetchPriority: string;
|
|
10832
10884
|
/**
|
|
10833
10885
|
* Sets or retrieves the height of the object.
|
|
10834
10886
|
*
|
|
@@ -10963,6 +11015,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10963
11015
|
/** Sets or retrieves the initial contents of the object. */
|
|
10964
11016
|
defaultValue: string;
|
|
10965
11017
|
dirName: string;
|
|
11018
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
10966
11019
|
disabled: boolean;
|
|
10967
11020
|
/**
|
|
10968
11021
|
* Returns a FileList object on a file type input object.
|
|
@@ -11008,11 +11061,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11008
11061
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
|
|
11009
11062
|
*/
|
|
11010
11063
|
height: number;
|
|
11011
|
-
/**
|
|
11012
|
-
* When set, overrides the rendering of checkbox controls so that the current value is not visible.
|
|
11013
|
-
*
|
|
11014
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)
|
|
11015
|
-
*/
|
|
11064
|
+
/** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
|
|
11016
11065
|
indeterminate: boolean;
|
|
11017
11066
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
|
|
11018
11067
|
readonly labels: NodeListOf<HTMLLabelElement> | null;
|
|
@@ -11261,9 +11310,19 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11261
11310
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin) */
|
|
11262
11311
|
crossOrigin: string | null;
|
|
11263
11312
|
disabled: boolean;
|
|
11264
|
-
/**
|
|
11313
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
|
|
11314
|
+
fetchPriority: string;
|
|
11315
|
+
/**
|
|
11316
|
+
* Sets or retrieves a destination URL or an anchor point.
|
|
11317
|
+
*
|
|
11318
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
|
|
11319
|
+
*/
|
|
11265
11320
|
href: string;
|
|
11266
|
-
/**
|
|
11321
|
+
/**
|
|
11322
|
+
* Sets or retrieves the language code of the object.
|
|
11323
|
+
*
|
|
11324
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/hreflang)
|
|
11325
|
+
*/
|
|
11267
11326
|
hreflang: string;
|
|
11268
11327
|
imageSizes: string;
|
|
11269
11328
|
imageSrcset: string;
|
|
@@ -11506,6 +11565,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11506
11565
|
preservesPitch: boolean;
|
|
11507
11566
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/readyState) */
|
|
11508
11567
|
readonly readyState: number;
|
|
11568
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/remote) */
|
|
11509
11569
|
readonly remote: RemotePlayback;
|
|
11510
11570
|
/**
|
|
11511
11571
|
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
|
|
@@ -11519,6 +11579,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11519
11579
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)
|
|
11520
11580
|
*/
|
|
11521
11581
|
readonly seeking: boolean;
|
|
11582
|
+
/**
|
|
11583
|
+
* Available only in secure contexts.
|
|
11584
|
+
*
|
|
11585
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/sinkId)
|
|
11586
|
+
*/
|
|
11587
|
+
readonly sinkId: string;
|
|
11522
11588
|
/**
|
|
11523
11589
|
* The address or URL of the a media resource that is to be considered.
|
|
11524
11590
|
*
|
|
@@ -11552,7 +11618,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11552
11618
|
*/
|
|
11553
11619
|
load(): void;
|
|
11554
11620
|
/**
|
|
11555
|
-
* Pauses the current playback and sets paused to TRUE.
|
|
11621
|
+
* Pauses the current playback and sets paused to TRUE.
|
|
11556
11622
|
*
|
|
11557
11623
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause)
|
|
11558
11624
|
*/
|
|
@@ -11569,6 +11635,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11569
11635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setMediaKeys)
|
|
11570
11636
|
*/
|
|
11571
11637
|
setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;
|
|
11638
|
+
/**
|
|
11639
|
+
* Available only in secure contexts.
|
|
11640
|
+
*
|
|
11641
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setSinkId)
|
|
11642
|
+
*/
|
|
11643
|
+
setSinkId(sinkId: string): Promise<void>;
|
|
11572
11644
|
readonly NETWORK_EMPTY: 0;
|
|
11573
11645
|
readonly NETWORK_IDLE: 1;
|
|
11574
11646
|
readonly NETWORK_LOADING: 2;
|
|
@@ -12042,6 +12114,7 @@ declare var HTMLOptionsCollection: {
|
|
|
12042
12114
|
};
|
|
12043
12115
|
|
|
12044
12116
|
interface HTMLOrSVGElement {
|
|
12117
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
|
|
12045
12118
|
autofocus: boolean;
|
|
12046
12119
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
|
|
12047
12120
|
readonly dataset: DOMStringMap;
|
|
@@ -12292,6 +12365,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
12292
12365
|
* @deprecated
|
|
12293
12366
|
*/
|
|
12294
12367
|
charset: string;
|
|
12368
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
|
|
12295
12369
|
crossOrigin: string | null;
|
|
12296
12370
|
/** Sets or retrieves the status of the script. */
|
|
12297
12371
|
defer: boolean;
|
|
@@ -12300,6 +12374,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
12300
12374
|
* @deprecated
|
|
12301
12375
|
*/
|
|
12302
12376
|
event: string;
|
|
12377
|
+
fetchPriority: string;
|
|
12303
12378
|
/**
|
|
12304
12379
|
* Sets or retrieves the object that is bound to the event script.
|
|
12305
12380
|
* @deprecated
|
|
@@ -12466,6 +12541,8 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12466
12541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/setCustomValidity)
|
|
12467
12542
|
*/
|
|
12468
12543
|
setCustomValidity(error: string): void;
|
|
12544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/showPicker) */
|
|
12545
|
+
showPicker(): void;
|
|
12469
12546
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12470
12547
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
12471
12548
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -13119,6 +13196,7 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
13119
13196
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
13120
13197
|
*/
|
|
13121
13198
|
readonly content: DocumentFragment;
|
|
13199
|
+
shadowRootMode: string;
|
|
13122
13200
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13123
13201
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13124
13202
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -13459,6 +13537,30 @@ declare var Headers: {
|
|
|
13459
13537
|
new(init?: HeadersInit): Headers;
|
|
13460
13538
|
};
|
|
13461
13539
|
|
|
13540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight) */
|
|
13541
|
+
interface Highlight {
|
|
13542
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority) */
|
|
13543
|
+
priority: number;
|
|
13544
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/type) */
|
|
13545
|
+
type: HighlightType;
|
|
13546
|
+
forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
|
|
13547
|
+
}
|
|
13548
|
+
|
|
13549
|
+
declare var Highlight: {
|
|
13550
|
+
prototype: Highlight;
|
|
13551
|
+
new(...initialRanges: AbstractRange[]): Highlight;
|
|
13552
|
+
};
|
|
13553
|
+
|
|
13554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry) */
|
|
13555
|
+
interface HighlightRegistry {
|
|
13556
|
+
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
|
|
13557
|
+
}
|
|
13558
|
+
|
|
13559
|
+
declare var HighlightRegistry: {
|
|
13560
|
+
prototype: HighlightRegistry;
|
|
13561
|
+
new(): HighlightRegistry;
|
|
13562
|
+
};
|
|
13563
|
+
|
|
13462
13564
|
/**
|
|
13463
13565
|
* Allows manipulation of the browser session history, that is the pages visited in the tab or frame that the current page is loaded in.
|
|
13464
13566
|
*
|
|
@@ -14410,7 +14512,11 @@ interface KeyboardEvent extends UIEvent {
|
|
|
14410
14512
|
readonly shiftKey: boolean;
|
|
14411
14513
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/getModifierState) */
|
|
14412
14514
|
getModifierState(keyArg: string): boolean;
|
|
14413
|
-
/**
|
|
14515
|
+
/**
|
|
14516
|
+
* @deprecated
|
|
14517
|
+
*
|
|
14518
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/initKeyboardEvent)
|
|
14519
|
+
*/
|
|
14414
14520
|
initKeyboardEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: Window | null, keyArg?: string, locationArg?: number, ctrlKey?: boolean, altKey?: boolean, shiftKey?: boolean, metaKey?: boolean): void;
|
|
14415
14521
|
readonly DOM_KEY_LOCATION_STANDARD: 0x00;
|
|
14416
14522
|
readonly DOM_KEY_LOCATION_LEFT: 0x01;
|
|
@@ -14633,7 +14739,7 @@ declare var MIDIAccess: {
|
|
|
14633
14739
|
*/
|
|
14634
14740
|
interface MIDIConnectionEvent extends Event {
|
|
14635
14741
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/port) */
|
|
14636
|
-
readonly port: MIDIPort;
|
|
14742
|
+
readonly port: MIDIPort | null;
|
|
14637
14743
|
}
|
|
14638
14744
|
|
|
14639
14745
|
declare var MIDIConnectionEvent: {
|
|
@@ -14642,7 +14748,7 @@ declare var MIDIConnectionEvent: {
|
|
|
14642
14748
|
};
|
|
14643
14749
|
|
|
14644
14750
|
interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
14645
|
-
"midimessage":
|
|
14751
|
+
"midimessage": MIDIMessageEvent;
|
|
14646
14752
|
}
|
|
14647
14753
|
|
|
14648
14754
|
/**
|
|
@@ -14652,7 +14758,7 @@ interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
|
14652
14758
|
*/
|
|
14653
14759
|
interface MIDIInput extends MIDIPort {
|
|
14654
14760
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event) */
|
|
14655
|
-
onmidimessage: ((this: MIDIInput, ev:
|
|
14761
|
+
onmidimessage: ((this: MIDIInput, ev: MIDIMessageEvent) => any) | null;
|
|
14656
14762
|
addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
14657
14763
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
14658
14764
|
removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -14685,7 +14791,7 @@ declare var MIDIInputMap: {
|
|
|
14685
14791
|
*/
|
|
14686
14792
|
interface MIDIMessageEvent extends Event {
|
|
14687
14793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/data) */
|
|
14688
|
-
readonly data: Uint8Array;
|
|
14794
|
+
readonly data: Uint8Array | null;
|
|
14689
14795
|
}
|
|
14690
14796
|
|
|
14691
14797
|
declare var MIDIMessageEvent: {
|
|
@@ -14727,7 +14833,7 @@ declare var MIDIOutputMap: {
|
|
|
14727
14833
|
};
|
|
14728
14834
|
|
|
14729
14835
|
interface MIDIPortEventMap {
|
|
14730
|
-
"statechange":
|
|
14836
|
+
"statechange": MIDIConnectionEvent;
|
|
14731
14837
|
}
|
|
14732
14838
|
|
|
14733
14839
|
/**
|
|
@@ -14745,7 +14851,7 @@ interface MIDIPort extends EventTarget {
|
|
|
14745
14851
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/name) */
|
|
14746
14852
|
readonly name: string | null;
|
|
14747
14853
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/statechange_event) */
|
|
14748
|
-
onstatechange: ((this: MIDIPort, ev:
|
|
14854
|
+
onstatechange: ((this: MIDIPort, ev: MIDIConnectionEvent) => any) | null;
|
|
14749
14855
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/state) */
|
|
14750
14856
|
readonly state: MIDIPortDeviceState;
|
|
14751
14857
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/type) */
|
|
@@ -15597,6 +15703,10 @@ interface MouseEvent extends UIEvent {
|
|
|
15597
15703
|
readonly clientY: number;
|
|
15598
15704
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/ctrlKey) */
|
|
15599
15705
|
readonly ctrlKey: boolean;
|
|
15706
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/layerX) */
|
|
15707
|
+
readonly layerX: number;
|
|
15708
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/layerY) */
|
|
15709
|
+
readonly layerY: number;
|
|
15600
15710
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/metaKey) */
|
|
15601
15711
|
readonly metaKey: boolean;
|
|
15602
15712
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/movementX) */
|
|
@@ -16382,6 +16492,8 @@ interface NotificationEventMap {
|
|
|
16382
16492
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
16383
16493
|
*/
|
|
16384
16494
|
interface Notification extends EventTarget {
|
|
16495
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge) */
|
|
16496
|
+
readonly badge: string;
|
|
16385
16497
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body) */
|
|
16386
16498
|
readonly body: string;
|
|
16387
16499
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data) */
|
|
@@ -16400,6 +16512,8 @@ interface Notification extends EventTarget {
|
|
|
16400
16512
|
onerror: ((this: Notification, ev: Event) => any) | null;
|
|
16401
16513
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/show_event) */
|
|
16402
16514
|
onshow: ((this: Notification, ev: Event) => any) | null;
|
|
16515
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction) */
|
|
16516
|
+
readonly requireInteraction: boolean;
|
|
16403
16517
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent) */
|
|
16404
16518
|
readonly silent: boolean | null;
|
|
16405
16519
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag) */
|
|
@@ -16667,7 +16781,7 @@ declare var OscillatorNode: {
|
|
|
16667
16781
|
};
|
|
16668
16782
|
|
|
16669
16783
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OverconstrainedError) */
|
|
16670
|
-
interface OverconstrainedError extends
|
|
16784
|
+
interface OverconstrainedError extends DOMException {
|
|
16671
16785
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OverconstrainedError/constraint) */
|
|
16672
16786
|
readonly constraint: string;
|
|
16673
16787
|
}
|
|
@@ -17610,6 +17724,7 @@ interface PointerEvent extends MouseEvent {
|
|
|
17610
17724
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/getCoalescedEvents)
|
|
17611
17725
|
*/
|
|
17612
17726
|
getCoalescedEvents(): PointerEvent[];
|
|
17727
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/getPredictedEvents) */
|
|
17613
17728
|
getPredictedEvents(): PointerEvent[];
|
|
17614
17729
|
}
|
|
17615
17730
|
|
|
@@ -17711,6 +17826,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
17711
17826
|
declare var PublicKeyCredential: {
|
|
17712
17827
|
prototype: PublicKeyCredential;
|
|
17713
17828
|
new(): PublicKeyCredential;
|
|
17829
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */
|
|
17714
17830
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17715
17831
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17716
17832
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
@@ -17935,9 +18051,13 @@ declare var RTCDtlsTransport: {
|
|
|
17935
18051
|
new(): RTCDtlsTransport;
|
|
17936
18052
|
};
|
|
17937
18053
|
|
|
18054
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame) */
|
|
17938
18055
|
interface RTCEncodedAudioFrame {
|
|
18056
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data) */
|
|
17939
18057
|
data: ArrayBuffer;
|
|
18058
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */
|
|
17940
18059
|
readonly timestamp: number;
|
|
18060
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/getMetadata) */
|
|
17941
18061
|
getMetadata(): RTCEncodedAudioFrameMetadata;
|
|
17942
18062
|
}
|
|
17943
18063
|
|
|
@@ -17946,10 +18066,15 @@ declare var RTCEncodedAudioFrame: {
|
|
|
17946
18066
|
new(): RTCEncodedAudioFrame;
|
|
17947
18067
|
};
|
|
17948
18068
|
|
|
18069
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame) */
|
|
17949
18070
|
interface RTCEncodedVideoFrame {
|
|
18071
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data) */
|
|
17950
18072
|
data: ArrayBuffer;
|
|
18073
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */
|
|
17951
18074
|
readonly timestamp: number;
|
|
18075
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type) */
|
|
17952
18076
|
readonly type: RTCEncodedVideoFrameType;
|
|
18077
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/getMetadata) */
|
|
17953
18078
|
getMetadata(): RTCEncodedVideoFrameMetadata;
|
|
17954
18079
|
}
|
|
17955
18080
|
|
|
@@ -18070,7 +18195,7 @@ interface RTCPeerConnectionEventMap {
|
|
|
18070
18195
|
"connectionstatechange": Event;
|
|
18071
18196
|
"datachannel": RTCDataChannelEvent;
|
|
18072
18197
|
"icecandidate": RTCPeerConnectionIceEvent;
|
|
18073
|
-
"icecandidateerror":
|
|
18198
|
+
"icecandidateerror": RTCPeerConnectionIceErrorEvent;
|
|
18074
18199
|
"iceconnectionstatechange": Event;
|
|
18075
18200
|
"icegatheringstatechange": Event;
|
|
18076
18201
|
"negotiationneeded": Event;
|
|
@@ -18105,7 +18230,7 @@ interface RTCPeerConnection extends EventTarget {
|
|
|
18105
18230
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidate_event) */
|
|
18106
18231
|
onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;
|
|
18107
18232
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidateerror_event) */
|
|
18108
|
-
onicecandidateerror: ((this: RTCPeerConnection, ev:
|
|
18233
|
+
onicecandidateerror: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceErrorEvent) => any) | null;
|
|
18109
18234
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/iceconnectionstatechange_event) */
|
|
18110
18235
|
oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
|
|
18111
18236
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event) */
|
|
@@ -18224,6 +18349,8 @@ declare var RTCPeerConnectionIceEvent: {
|
|
|
18224
18349
|
interface RTCRtpReceiver {
|
|
18225
18350
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */
|
|
18226
18351
|
readonly track: MediaStreamTrack;
|
|
18352
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform) */
|
|
18353
|
+
transform: RTCRtpTransform | null;
|
|
18227
18354
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transport) */
|
|
18228
18355
|
readonly transport: RTCDtlsTransport | null;
|
|
18229
18356
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getContributingSources) */
|
|
@@ -18243,6 +18370,15 @@ declare var RTCRtpReceiver: {
|
|
|
18243
18370
|
getCapabilities(kind: string): RTCRtpCapabilities | null;
|
|
18244
18371
|
};
|
|
18245
18372
|
|
|
18373
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransform) */
|
|
18374
|
+
interface RTCRtpScriptTransform {
|
|
18375
|
+
}
|
|
18376
|
+
|
|
18377
|
+
declare var RTCRtpScriptTransform: {
|
|
18378
|
+
prototype: RTCRtpScriptTransform;
|
|
18379
|
+
new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;
|
|
18380
|
+
};
|
|
18381
|
+
|
|
18246
18382
|
/**
|
|
18247
18383
|
* Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.
|
|
18248
18384
|
*
|
|
@@ -18253,6 +18389,8 @@ interface RTCRtpSender {
|
|
|
18253
18389
|
readonly dtmf: RTCDTMFSender | null;
|
|
18254
18390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/track) */
|
|
18255
18391
|
readonly track: MediaStreamTrack | null;
|
|
18392
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform) */
|
|
18393
|
+
transform: RTCRtpTransform | null;
|
|
18256
18394
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transport) */
|
|
18257
18395
|
readonly transport: RTCDtlsTransport | null;
|
|
18258
18396
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/getParameters) */
|
|
@@ -18262,7 +18400,7 @@ interface RTCRtpSender {
|
|
|
18262
18400
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/replaceTrack) */
|
|
18263
18401
|
replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;
|
|
18264
18402
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/setParameters) */
|
|
18265
|
-
setParameters(parameters: RTCRtpSendParameters): Promise<void>;
|
|
18403
|
+
setParameters(parameters: RTCRtpSendParameters, setParameterOptions?: RTCSetParameterOptions): Promise<void>;
|
|
18266
18404
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/setStreams) */
|
|
18267
18405
|
setStreams(...streams: MediaStream[]): void;
|
|
18268
18406
|
}
|
|
@@ -20034,6 +20172,8 @@ declare var SVGGraphicsElement: {
|
|
|
20034
20172
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
20035
20173
|
*/
|
|
20036
20174
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
20175
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) */
|
|
20176
|
+
crossOrigin: string | null;
|
|
20037
20177
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
20038
20178
|
readonly height: SVGAnimatedLength;
|
|
20039
20179
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/preserveAspectRatio) */
|
|
@@ -21177,6 +21317,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
21177
21317
|
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
|
|
21178
21318
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
|
|
21179
21319
|
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
|
|
21320
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
|
|
21180
21321
|
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
|
|
21181
21322
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
|
|
21182
21323
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
@@ -22030,6 +22171,24 @@ interface TextMetrics {
|
|
|
22030
22171
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxRight)
|
|
22031
22172
|
*/
|
|
22032
22173
|
readonly actualBoundingBoxRight: number;
|
|
22174
|
+
/**
|
|
22175
|
+
* Returns the measurement described below.
|
|
22176
|
+
*
|
|
22177
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/alphabeticBaseline)
|
|
22178
|
+
*/
|
|
22179
|
+
readonly alphabeticBaseline: number;
|
|
22180
|
+
/**
|
|
22181
|
+
* Returns the measurement described below.
|
|
22182
|
+
*
|
|
22183
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightAscent)
|
|
22184
|
+
*/
|
|
22185
|
+
readonly emHeightAscent: number;
|
|
22186
|
+
/**
|
|
22187
|
+
* Returns the measurement described below.
|
|
22188
|
+
*
|
|
22189
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightDescent)
|
|
22190
|
+
*/
|
|
22191
|
+
readonly emHeightDescent: number;
|
|
22033
22192
|
/**
|
|
22034
22193
|
* Returns the measurement described below.
|
|
22035
22194
|
*
|
|
@@ -22042,6 +22201,18 @@ interface TextMetrics {
|
|
|
22042
22201
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxDescent)
|
|
22043
22202
|
*/
|
|
22044
22203
|
readonly fontBoundingBoxDescent: number;
|
|
22204
|
+
/**
|
|
22205
|
+
* Returns the measurement described below.
|
|
22206
|
+
*
|
|
22207
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/hangingBaseline)
|
|
22208
|
+
*/
|
|
22209
|
+
readonly hangingBaseline: number;
|
|
22210
|
+
/**
|
|
22211
|
+
* Returns the measurement described below.
|
|
22212
|
+
*
|
|
22213
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/ideographicBaseline)
|
|
22214
|
+
*/
|
|
22215
|
+
readonly ideographicBaseline: number;
|
|
22045
22216
|
/**
|
|
22046
22217
|
* Returns the measurement described below.
|
|
22047
22218
|
*
|
|
@@ -22853,13 +23024,13 @@ interface VideoFrame {
|
|
|
22853
23024
|
clone(): VideoFrame;
|
|
22854
23025
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close) */
|
|
22855
23026
|
close(): void;
|
|
22856
|
-
copyTo(destination:
|
|
23027
|
+
copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;
|
|
22857
23028
|
}
|
|
22858
23029
|
|
|
22859
23030
|
declare var VideoFrame: {
|
|
22860
23031
|
prototype: VideoFrame;
|
|
22861
23032
|
new(image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
|
|
22862
|
-
new(data:
|
|
23033
|
+
new(data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;
|
|
22863
23034
|
};
|
|
22864
23035
|
|
|
22865
23036
|
/**
|
|
@@ -23087,13 +23258,13 @@ interface WEBGL_lose_context {
|
|
|
23087
23258
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw) */
|
|
23088
23259
|
interface WEBGL_multi_draw {
|
|
23089
23260
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
23090
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset:
|
|
23261
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
23091
23262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
23092
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset:
|
|
23263
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, drawcount: GLsizei): void;
|
|
23093
23264
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
23094
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset:
|
|
23265
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
23095
23266
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
23096
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset:
|
|
23267
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
23097
23268
|
}
|
|
23098
23269
|
|
|
23099
23270
|
/**
|
|
@@ -23176,7 +23347,6 @@ declare var WebGL2RenderingContext: {
|
|
|
23176
23347
|
readonly STENCIL: 0x1802;
|
|
23177
23348
|
readonly RED: 0x1903;
|
|
23178
23349
|
readonly RGB8: 0x8051;
|
|
23179
|
-
readonly RGBA8: 0x8058;
|
|
23180
23350
|
readonly RGB10_A2: 0x8059;
|
|
23181
23351
|
readonly TEXTURE_BINDING_3D: 0x806A;
|
|
23182
23352
|
readonly UNPACK_SKIP_IMAGES: 0x806D;
|
|
@@ -23687,6 +23857,7 @@ declare var WebGL2RenderingContext: {
|
|
|
23687
23857
|
readonly RENDERBUFFER: 0x8D41;
|
|
23688
23858
|
readonly RGBA4: 0x8056;
|
|
23689
23859
|
readonly RGB5_A1: 0x8057;
|
|
23860
|
+
readonly RGBA8: 0x8058;
|
|
23690
23861
|
readonly RGB565: 0x8D62;
|
|
23691
23862
|
readonly DEPTH_COMPONENT16: 0x81A5;
|
|
23692
23863
|
readonly STENCIL_INDEX8: 0x8D48;
|
|
@@ -23745,19 +23916,19 @@ interface WebGL2RenderingContextBase {
|
|
|
23745
23916
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
23746
23917
|
clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;
|
|
23747
23918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
23748
|
-
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?:
|
|
23919
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: number): void;
|
|
23749
23920
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
23750
|
-
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?:
|
|
23921
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: number): void;
|
|
23751
23922
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
23752
|
-
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?:
|
|
23923
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
23753
23924
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
23754
23925
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
23755
23926
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
|
|
23756
23927
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
23757
|
-
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?:
|
|
23928
|
+
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
23758
23929
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
23759
23930
|
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;
|
|
23760
|
-
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?:
|
|
23931
|
+
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
23761
23932
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyBufferSubData) */
|
|
23762
23933
|
copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;
|
|
23763
23934
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */
|
|
@@ -23803,7 +23974,7 @@ interface WebGL2RenderingContextBase {
|
|
|
23803
23974
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
23804
23975
|
getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;
|
|
23805
23976
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) */
|
|
23806
|
-
getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?:
|
|
23977
|
+
getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: number, length?: GLuint): void;
|
|
23807
23978
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getFragDataLocation) */
|
|
23808
23979
|
getFragDataLocation(program: WebGLProgram, name: string): GLint;
|
|
23809
23980
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */
|
|
@@ -23854,7 +24025,7 @@ interface WebGL2RenderingContextBase {
|
|
|
23854
24025
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
23855
24026
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
23856
24027
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;
|
|
23857
|
-
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset:
|
|
24028
|
+
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: number): void;
|
|
23858
24029
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage2D) */
|
|
23859
24030
|
texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;
|
|
23860
24031
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage3D) */
|
|
@@ -23862,39 +24033,39 @@ interface WebGL2RenderingContextBase {
|
|
|
23862
24033
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texSubImage3D) */
|
|
23863
24034
|
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
23864
24035
|
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
23865
|
-
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?:
|
|
24036
|
+
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: number): void;
|
|
23866
24037
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
23867
24038
|
transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;
|
|
23868
24039
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23869
24040
|
uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;
|
|
23870
24041
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23871
|
-
uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
24042
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23872
24043
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23873
24044
|
uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;
|
|
23874
24045
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23875
|
-
uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
24046
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23876
24047
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23877
24048
|
uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;
|
|
23878
24049
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23879
|
-
uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
24050
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23880
24051
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23881
24052
|
uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;
|
|
23882
24053
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
23883
|
-
uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
24054
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23884
24055
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding) */
|
|
23885
24056
|
uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;
|
|
23886
24057
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
23887
|
-
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24058
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23888
24059
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
23889
|
-
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24060
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23890
24061
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
23891
|
-
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24062
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23892
24063
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
23893
|
-
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24064
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23894
24065
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
23895
|
-
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24066
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23896
24067
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
23897
|
-
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24068
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
23898
24069
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor) */
|
|
23899
24070
|
vertexAttribDivisor(index: GLuint, divisor: GLuint): void;
|
|
23900
24071
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
@@ -23921,7 +24092,6 @@ interface WebGL2RenderingContextBase {
|
|
|
23921
24092
|
readonly STENCIL: 0x1802;
|
|
23922
24093
|
readonly RED: 0x1903;
|
|
23923
24094
|
readonly RGB8: 0x8051;
|
|
23924
|
-
readonly RGBA8: 0x8058;
|
|
23925
24095
|
readonly RGB10_A2: 0x8059;
|
|
23926
24096
|
readonly TEXTURE_BINDING_3D: 0x806A;
|
|
23927
24097
|
readonly UNPACK_SKIP_IMAGES: 0x806D;
|
|
@@ -24177,55 +24347,55 @@ interface WebGL2RenderingContextBase {
|
|
|
24177
24347
|
interface WebGL2RenderingContextOverloads {
|
|
24178
24348
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
|
|
24179
24349
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
24180
|
-
bufferData(target: GLenum, srcData:
|
|
24181
|
-
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset:
|
|
24350
|
+
bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
24351
|
+
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: number, length?: GLuint): void;
|
|
24182
24352
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
|
|
24183
|
-
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData:
|
|
24184
|
-
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset:
|
|
24353
|
+
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
|
|
24354
|
+
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: number, length?: GLuint): void;
|
|
24185
24355
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
24186
24356
|
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
24187
|
-
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?:
|
|
24357
|
+
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
24188
24358
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
|
|
24189
24359
|
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;
|
|
24190
|
-
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?:
|
|
24360
|
+
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
24191
24361
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */
|
|
24192
24362
|
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;
|
|
24193
24363
|
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;
|
|
24194
|
-
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset:
|
|
24364
|
+
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: number): void;
|
|
24195
24365
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */
|
|
24196
24366
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
|
24197
24367
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
24198
24368
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
24199
24369
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
24200
|
-
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset:
|
|
24370
|
+
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: number): void;
|
|
24201
24371
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */
|
|
24202
24372
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
|
24203
24373
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
24204
24374
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
24205
24375
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
24206
|
-
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset:
|
|
24376
|
+
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: number): void;
|
|
24207
24377
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24208
|
-
uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
24378
|
+
uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24209
24379
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24210
|
-
uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
24380
|
+
uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24211
24381
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24212
|
-
uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
24382
|
+
uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24213
24383
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24214
|
-
uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
24384
|
+
uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24215
24385
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24216
|
-
uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
24386
|
+
uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24217
24387
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24218
|
-
uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
24388
|
+
uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24219
24389
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24220
|
-
uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
24390
|
+
uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24221
24391
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
24222
|
-
uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
24392
|
+
uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24223
24393
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
24224
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24394
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24225
24395
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
24226
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24396
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24227
24397
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
24228
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
24398
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
24229
24399
|
}
|
|
24230
24400
|
|
|
24231
24401
|
/**
|
|
@@ -24594,6 +24764,7 @@ declare var WebGLRenderingContext: {
|
|
|
24594
24764
|
readonly RENDERBUFFER: 0x8D41;
|
|
24595
24765
|
readonly RGBA4: 0x8056;
|
|
24596
24766
|
readonly RGB5_A1: 0x8057;
|
|
24767
|
+
readonly RGBA8: 0x8058;
|
|
24597
24768
|
readonly RGB565: 0x8D62;
|
|
24598
24769
|
readonly DEPTH_COMPONENT16: 0x81A5;
|
|
24599
24770
|
readonly STENCIL_INDEX8: 0x8D48;
|
|
@@ -25169,6 +25340,7 @@ interface WebGLRenderingContextBase {
|
|
|
25169
25340
|
readonly RENDERBUFFER: 0x8D41;
|
|
25170
25341
|
readonly RGBA4: 0x8056;
|
|
25171
25342
|
readonly RGB5_A1: 0x8057;
|
|
25343
|
+
readonly RGBA8: 0x8058;
|
|
25172
25344
|
readonly RGB565: 0x8D62;
|
|
25173
25345
|
readonly DEPTH_COMPONENT16: 0x81A5;
|
|
25174
25346
|
readonly STENCIL_INDEX8: 0x8D48;
|
|
@@ -25210,9 +25382,9 @@ interface WebGLRenderingContextBase {
|
|
|
25210
25382
|
interface WebGLRenderingContextOverloads {
|
|
25211
25383
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
|
|
25212
25384
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
25213
|
-
bufferData(target: GLenum, data:
|
|
25385
|
+
bufferData(target: GLenum, data: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
25214
25386
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
|
|
25215
|
-
bufferSubData(target: GLenum, offset: GLintptr, data:
|
|
25387
|
+
bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource): void;
|
|
25216
25388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
25217
25389
|
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView): void;
|
|
25218
25390
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
|
|
@@ -25494,13 +25666,13 @@ interface WebTransportDatagramDuplexStream {
|
|
|
25494
25666
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark) */
|
|
25495
25667
|
incomingHighWaterMark: number;
|
|
25496
25668
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */
|
|
25497
|
-
incomingMaxAge: number;
|
|
25669
|
+
incomingMaxAge: number | null;
|
|
25498
25670
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize) */
|
|
25499
25671
|
readonly maxDatagramSize: number;
|
|
25500
25672
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark) */
|
|
25501
25673
|
outgoingHighWaterMark: number;
|
|
25502
25674
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */
|
|
25503
|
-
outgoingMaxAge: number;
|
|
25675
|
+
outgoingMaxAge: number | null;
|
|
25504
25676
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */
|
|
25505
25677
|
readonly readable: ReadableStream;
|
|
25506
25678
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
|
|
@@ -25560,6 +25732,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
|
|
|
25560
25732
|
"DOMContentLoaded": Event;
|
|
25561
25733
|
"devicemotion": DeviceMotionEvent;
|
|
25562
25734
|
"deviceorientation": DeviceOrientationEvent;
|
|
25735
|
+
"deviceorientationabsolute": DeviceOrientationEvent;
|
|
25563
25736
|
"gamepadconnected": GamepadEvent;
|
|
25564
25737
|
"gamepaddisconnected": GamepadEvent;
|
|
25565
25738
|
"orientationchange": Event;
|
|
@@ -25648,6 +25821,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
|
|
|
25648
25821
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
|
|
25649
25822
|
*/
|
|
25650
25823
|
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
25824
|
+
/**
|
|
25825
|
+
* Available only in secure contexts.
|
|
25826
|
+
*
|
|
25827
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
|
|
25828
|
+
*/
|
|
25829
|
+
ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
25651
25830
|
/**
|
|
25652
25831
|
* @deprecated
|
|
25653
25832
|
*
|
|
@@ -25892,7 +26071,11 @@ interface WindowEventHandlers {
|
|
|
25892
26071
|
onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;
|
|
25893
26072
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
|
|
25894
26073
|
onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
|
|
25895
|
-
/**
|
|
26074
|
+
/**
|
|
26075
|
+
* @deprecated
|
|
26076
|
+
*
|
|
26077
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
|
|
26078
|
+
*/
|
|
25896
26079
|
onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;
|
|
25897
26080
|
addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
25898
26081
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -26427,44 +26610,44 @@ declare var XSLTProcessor: {
|
|
|
26427
26610
|
|
|
26428
26611
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console) */
|
|
26429
26612
|
interface Console {
|
|
26430
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26613
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
|
26431
26614
|
assert(condition?: boolean, ...data: any[]): void;
|
|
26432
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
|
|
26433
26616
|
clear(): void;
|
|
26434
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26617
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
26435
26618
|
count(label?: string): void;
|
|
26436
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26619
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
|
26437
26620
|
countReset(label?: string): void;
|
|
26438
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26621
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
26439
26622
|
debug(...data: any[]): void;
|
|
26440
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26623
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
|
|
26441
26624
|
dir(item?: any, options?: any): void;
|
|
26442
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26625
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
|
|
26443
26626
|
dirxml(...data: any[]): void;
|
|
26444
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26627
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
|
|
26445
26628
|
error(...data: any[]): void;
|
|
26446
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26629
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
26447
26630
|
group(...data: any[]): void;
|
|
26448
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26631
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
|
26449
26632
|
groupCollapsed(...data: any[]): void;
|
|
26450
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26633
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
|
26451
26634
|
groupEnd(): void;
|
|
26452
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26635
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
26453
26636
|
info(...data: any[]): void;
|
|
26454
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26637
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
|
|
26455
26638
|
log(...data: any[]): void;
|
|
26456
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26639
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
|
|
26457
26640
|
table(tabularData?: any, properties?: string[]): void;
|
|
26458
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26641
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
26459
26642
|
time(label?: string): void;
|
|
26460
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26643
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
|
26461
26644
|
timeEnd(label?: string): void;
|
|
26462
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26645
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
|
26463
26646
|
timeLog(label?: string, ...data: any[]): void;
|
|
26464
26647
|
timeStamp(label?: string): void;
|
|
26465
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26648
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
26466
26649
|
trace(...data: any[]): void;
|
|
26467
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
26650
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
|
|
26468
26651
|
warn(...data: any[]): void;
|
|
26469
26652
|
}
|
|
26470
26653
|
|
|
@@ -26472,10 +26655,13 @@ declare var console: Console;
|
|
|
26472
26655
|
|
|
26473
26656
|
/** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
|
|
26474
26657
|
declare namespace CSS {
|
|
26658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static) */
|
|
26659
|
+
var highlights: HighlightRegistry;
|
|
26475
26660
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26476
26661
|
function Hz(value: number): CSSUnitValue;
|
|
26477
26662
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26478
26663
|
function Q(value: number): CSSUnitValue;
|
|
26664
|
+
function cap(value: number): CSSUnitValue;
|
|
26479
26665
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26480
26666
|
function ch(value: number): CSSUnitValue;
|
|
26481
26667
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
@@ -26522,8 +26708,10 @@ declare namespace CSS {
|
|
|
26522
26708
|
function fr(value: number): CSSUnitValue;
|
|
26523
26709
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26524
26710
|
function grad(value: number): CSSUnitValue;
|
|
26711
|
+
function ic(value: number): CSSUnitValue;
|
|
26525
26712
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26526
26713
|
function kHz(value: number): CSSUnitValue;
|
|
26714
|
+
function lh(value: number): CSSUnitValue;
|
|
26527
26715
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26528
26716
|
function lvb(value: number): CSSUnitValue;
|
|
26529
26717
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
@@ -26552,10 +26740,15 @@ declare namespace CSS {
|
|
|
26552
26740
|
function px(value: number): CSSUnitValue;
|
|
26553
26741
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26554
26742
|
function rad(value: number): CSSUnitValue;
|
|
26743
|
+
function rcap(value: number): CSSUnitValue;
|
|
26744
|
+
function rch(value: number): CSSUnitValue;
|
|
26555
26745
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static) */
|
|
26556
26746
|
function registerProperty(definition: PropertyDefinition): void;
|
|
26557
26747
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26558
26748
|
function rem(value: number): CSSUnitValue;
|
|
26749
|
+
function rex(value: number): CSSUnitValue;
|
|
26750
|
+
function ric(value: number): CSSUnitValue;
|
|
26751
|
+
function rlh(value: number): CSSUnitValue;
|
|
26559
26752
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */
|
|
26560
26753
|
function s(value: number): CSSUnitValue;
|
|
26561
26754
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/supports_static) */
|
|
@@ -26599,11 +26792,11 @@ declare namespace WebAssembly {
|
|
|
26599
26792
|
(message?: string): CompileError;
|
|
26600
26793
|
};
|
|
26601
26794
|
|
|
26602
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26795
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global) */
|
|
26603
26796
|
interface Global<T extends ValueType = ValueType> {
|
|
26604
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26797
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/value) */
|
|
26605
26798
|
value: ValueTypeMap[T];
|
|
26606
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26799
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Global/valueOf) */
|
|
26607
26800
|
valueOf(): ValueTypeMap[T];
|
|
26608
26801
|
}
|
|
26609
26802
|
|
|
@@ -26612,9 +26805,9 @@ declare namespace WebAssembly {
|
|
|
26612
26805
|
new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;
|
|
26613
26806
|
};
|
|
26614
26807
|
|
|
26615
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26808
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Instance) */
|
|
26616
26809
|
interface Instance {
|
|
26617
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26810
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Instance/exports) */
|
|
26618
26811
|
readonly exports: Exports;
|
|
26619
26812
|
}
|
|
26620
26813
|
|
|
@@ -26632,11 +26825,11 @@ declare namespace WebAssembly {
|
|
|
26632
26825
|
(message?: string): LinkError;
|
|
26633
26826
|
};
|
|
26634
26827
|
|
|
26635
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26828
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Memory) */
|
|
26636
26829
|
interface Memory {
|
|
26637
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26830
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Memory/buffer) */
|
|
26638
26831
|
readonly buffer: ArrayBuffer;
|
|
26639
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26832
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Memory/grow) */
|
|
26640
26833
|
grow(delta: number): number;
|
|
26641
26834
|
}
|
|
26642
26835
|
|
|
@@ -26645,18 +26838,18 @@ declare namespace WebAssembly {
|
|
|
26645
26838
|
new(descriptor: MemoryDescriptor): Memory;
|
|
26646
26839
|
};
|
|
26647
26840
|
|
|
26648
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module) */
|
|
26649
26842
|
interface Module {
|
|
26650
26843
|
}
|
|
26651
26844
|
|
|
26652
26845
|
var Module: {
|
|
26653
26846
|
prototype: Module;
|
|
26654
26847
|
new(bytes: BufferSource): Module;
|
|
26655
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26848
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/customSections_static) */
|
|
26656
26849
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
26657
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26850
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/exports_static) */
|
|
26658
26851
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
26659
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26852
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/imports_static) */
|
|
26660
26853
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
26661
26854
|
};
|
|
26662
26855
|
|
|
@@ -26669,15 +26862,15 @@ declare namespace WebAssembly {
|
|
|
26669
26862
|
(message?: string): RuntimeError;
|
|
26670
26863
|
};
|
|
26671
26864
|
|
|
26672
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26865
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table) */
|
|
26673
26866
|
interface Table {
|
|
26674
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26867
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/length) */
|
|
26675
26868
|
readonly length: number;
|
|
26676
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26869
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/get) */
|
|
26677
26870
|
get(index: number): any;
|
|
26678
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26871
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/grow) */
|
|
26679
26872
|
grow(delta: number, value?: any): number;
|
|
26680
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26873
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Table/set) */
|
|
26681
26874
|
set(index: number, value?: any): void;
|
|
26682
26875
|
}
|
|
26683
26876
|
|
|
@@ -26737,16 +26930,16 @@ declare namespace WebAssembly {
|
|
|
26737
26930
|
type Imports = Record<string, ModuleImports>;
|
|
26738
26931
|
type ModuleImports = Record<string, ImportValue>;
|
|
26739
26932
|
type ValueType = keyof ValueTypeMap;
|
|
26740
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26933
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compile_static) */
|
|
26741
26934
|
function compile(bytes: BufferSource): Promise<Module>;
|
|
26742
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26935
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compileStreaming_static) */
|
|
26743
26936
|
function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;
|
|
26744
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26937
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiate_static) */
|
|
26745
26938
|
function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
|
26746
26939
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
26747
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26940
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiateStreaming_static) */
|
|
26748
26941
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
|
26749
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/
|
|
26942
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/validate_static) */
|
|
26750
26943
|
function validate(bytes: BufferSource): boolean;
|
|
26751
26944
|
}
|
|
26752
26945
|
|
|
@@ -27253,6 +27446,12 @@ declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | nul
|
|
|
27253
27446
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
|
|
27254
27447
|
*/
|
|
27255
27448
|
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
27449
|
+
/**
|
|
27450
|
+
* Available only in secure contexts.
|
|
27451
|
+
*
|
|
27452
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
|
|
27453
|
+
*/
|
|
27454
|
+
declare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
|
|
27256
27455
|
/**
|
|
27257
27456
|
* @deprecated
|
|
27258
27457
|
*
|
|
@@ -27436,7 +27635,9 @@ declare function toString(): string;
|
|
|
27436
27635
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
|
|
27437
27636
|
*/
|
|
27438
27637
|
declare function dispatchEvent(event: Event): boolean;
|
|
27638
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
|
|
27439
27639
|
declare function cancelAnimationFrame(handle: number): void;
|
|
27640
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
|
|
27440
27641
|
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
27441
27642
|
/**
|
|
27442
27643
|
* Fires when the user aborts the download.
|
|
@@ -27455,8 +27656,10 @@ declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) |
|
|
|
27455
27656
|
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
27456
27657
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */
|
|
27457
27658
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
27458
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27659
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */
|
|
27459
27660
|
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
27661
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
27662
|
+
declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
|
|
27460
27663
|
/**
|
|
27461
27664
|
* Fires when the object loses the input focus.
|
|
27462
27665
|
* @param ev The focus event.
|
|
@@ -27594,7 +27797,7 @@ declare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;
|
|
|
27594
27797
|
declare var onformdata: ((this: Window, ev: FormDataEvent) => any) | null;
|
|
27595
27798
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */
|
|
27596
27799
|
declare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
|
|
27597
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27800
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */
|
|
27598
27801
|
declare var oninput: ((this: Window, ev: Event) => any) | null;
|
|
27599
27802
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */
|
|
27600
27803
|
declare var oninvalid: ((this: Window, ev: Event) => any) | null;
|
|
@@ -27648,7 +27851,7 @@ declare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;
|
|
|
27648
27851
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event)
|
|
27649
27852
|
*/
|
|
27650
27853
|
declare var onloadstart: ((this: Window, ev: Event) => any) | null;
|
|
27651
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
27854
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lostpointercapture_event) */
|
|
27652
27855
|
declare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;
|
|
27653
27856
|
/**
|
|
27654
27857
|
* Fires when the user clicks the object with either mouse button.
|
|
@@ -27904,7 +28107,11 @@ declare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => an
|
|
|
27904
28107
|
declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
|
|
27905
28108
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
|
|
27906
28109
|
declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
|
|
27907
|
-
/**
|
|
28110
|
+
/**
|
|
28111
|
+
* @deprecated
|
|
28112
|
+
*
|
|
28113
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
|
|
28114
|
+
*/
|
|
27908
28115
|
declare var onunload: ((this: Window, ev: Event) => any) | null;
|
|
27909
28116
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage) */
|
|
27910
28117
|
declare var localStorage: Storage;
|
|
@@ -28013,6 +28220,7 @@ type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
|
28013
28220
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
28014
28221
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
28015
28222
|
type PerformanceEntryList = PerformanceEntry[];
|
|
28223
|
+
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
28016
28224
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
28017
28225
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
28018
28226
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
@@ -28092,6 +28300,7 @@ type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
|
28092
28300
|
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
28093
28301
|
type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
|
|
28094
28302
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
28303
|
+
type HighlightType = "grammar-error" | "highlight" | "spelling-error";
|
|
28095
28304
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
28096
28305
|
type IDBRequestReadyState = "done" | "pending";
|
|
28097
28306
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
@@ -28161,7 +28370,7 @@ type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
|
28161
28370
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
28162
28371
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
28163
28372
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
28164
|
-
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";
|
|
28373
|
+
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";
|
|
28165
28374
|
type ReadableStreamReaderMode = "byob";
|
|
28166
28375
|
type ReadableStreamType = "bytes";
|
|
28167
28376
|
type ReadyState = "closed" | "ended" | "open";
|
|
@@ -28172,6 +28381,7 @@ type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-
|
|
|
28172
28381
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
28173
28382
|
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
28174
28383
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
28384
|
+
type RequestPriority = "auto" | "high" | "low";
|
|
28175
28385
|
type RequestRedirect = "error" | "follow" | "manual";
|
|
28176
28386
|
type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
|
|
28177
28387
|
type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
|