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