@types/web 0.0.72 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +155 -39
- package/iterable.d.ts +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.74 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.74.
|
package/index.d.ts
CHANGED
|
@@ -118,15 +118,12 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
|
|
|
118
118
|
|
|
119
119
|
interface AuthenticationExtensionsClientInputs {
|
|
120
120
|
appid?: string;
|
|
121
|
-
appidExclude?: string;
|
|
122
121
|
credProps?: boolean;
|
|
123
|
-
uvm?: boolean;
|
|
124
122
|
}
|
|
125
123
|
|
|
126
124
|
interface AuthenticationExtensionsClientOutputs {
|
|
127
125
|
appid?: boolean;
|
|
128
126
|
credProps?: CredentialPropertiesOutput;
|
|
129
|
-
uvm?: UvmEntries;
|
|
130
127
|
}
|
|
131
128
|
|
|
132
129
|
interface AuthenticatorSelectionCriteria {
|
|
@@ -355,7 +352,7 @@ interface DeviceOrientationEventInit extends EventInit {
|
|
|
355
352
|
gamma?: number | null;
|
|
356
353
|
}
|
|
357
354
|
|
|
358
|
-
interface
|
|
355
|
+
interface DisplayMediaStreamOptions {
|
|
359
356
|
audio?: boolean | MediaTrackConstraints;
|
|
360
357
|
video?: boolean | MediaTrackConstraints;
|
|
361
358
|
}
|
|
@@ -788,10 +785,6 @@ interface MediaQueryListEventInit extends EventInit {
|
|
|
788
785
|
media?: string;
|
|
789
786
|
}
|
|
790
787
|
|
|
791
|
-
interface MediaRecorderErrorEventInit extends EventInit {
|
|
792
|
-
error: DOMException;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
788
|
interface MediaRecorderOptions {
|
|
796
789
|
audioBitsPerSecond?: number;
|
|
797
790
|
bitsPerSecond?: number;
|
|
@@ -801,9 +794,9 @@ interface MediaRecorderOptions {
|
|
|
801
794
|
|
|
802
795
|
interface MediaSessionActionDetails {
|
|
803
796
|
action: MediaSessionAction;
|
|
804
|
-
fastSeek?: boolean
|
|
805
|
-
seekOffset?: number
|
|
806
|
-
seekTime?: number
|
|
797
|
+
fastSeek?: boolean;
|
|
798
|
+
seekOffset?: number;
|
|
799
|
+
seekTime?: number;
|
|
807
800
|
}
|
|
808
801
|
|
|
809
802
|
interface MediaStreamAudioSourceOptions {
|
|
@@ -1300,6 +1293,8 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1300
1293
|
bytesReceived?: number;
|
|
1301
1294
|
bytesSent?: number;
|
|
1302
1295
|
currentRoundTripTime?: number;
|
|
1296
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1297
|
+
lastPacketSentTimestamp?: DOMHighResTimeStamp;
|
|
1303
1298
|
localCandidateId: string;
|
|
1304
1299
|
nominated?: boolean;
|
|
1305
1300
|
remoteCandidateId: string;
|
|
@@ -1314,18 +1309,45 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1314
1309
|
|
|
1315
1310
|
interface RTCIceServer {
|
|
1316
1311
|
credential?: string;
|
|
1317
|
-
credentialType?: RTCIceCredentialType;
|
|
1318
1312
|
urls: string | string[];
|
|
1319
1313
|
username?: string;
|
|
1320
1314
|
}
|
|
1321
1315
|
|
|
1322
1316
|
interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
1317
|
+
audioLevel?: number;
|
|
1318
|
+
bytesReceived?: number;
|
|
1319
|
+
concealedSamples?: number;
|
|
1320
|
+
concealmentEvents?: number;
|
|
1321
|
+
decoderImplementation?: string;
|
|
1322
|
+
estimatedPlayoutTimestamp?: DOMHighResTimeStamp;
|
|
1323
|
+
fecPacketsDiscarded?: number;
|
|
1324
|
+
fecPacketsReceived?: number;
|
|
1323
1325
|
firCount?: number;
|
|
1326
|
+
frameHeight?: number;
|
|
1327
|
+
frameWidth?: number;
|
|
1324
1328
|
framesDecoded?: number;
|
|
1329
|
+
framesPerSecond?: number;
|
|
1330
|
+
framesReceived?: number;
|
|
1331
|
+
headerBytesReceived?: number;
|
|
1332
|
+
insertedSamplesForDeceleration?: number;
|
|
1333
|
+
jitterBufferDelay?: number;
|
|
1334
|
+
jitterBufferEmittedCount?: number;
|
|
1335
|
+
keyFramesDecoded?: number;
|
|
1336
|
+
kind: string;
|
|
1337
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1325
1338
|
nackCount?: number;
|
|
1339
|
+
packetsDiscarded?: number;
|
|
1326
1340
|
pliCount?: number;
|
|
1327
1341
|
qpSum?: number;
|
|
1328
1342
|
remoteId?: string;
|
|
1343
|
+
removedSamplesForAcceleration?: number;
|
|
1344
|
+
silentConcealedSamples?: number;
|
|
1345
|
+
totalAudioEnergy?: number;
|
|
1346
|
+
totalDecodeTime?: number;
|
|
1347
|
+
totalInterFrameDelay?: number;
|
|
1348
|
+
totalSamplesDuration?: number;
|
|
1349
|
+
totalSamplesReceived?: number;
|
|
1350
|
+
totalSquaredInterFrameDelay?: number;
|
|
1329
1351
|
}
|
|
1330
1352
|
|
|
1331
1353
|
interface RTCLocalSessionDescriptionInit {
|
|
@@ -1344,11 +1366,27 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions {
|
|
|
1344
1366
|
|
|
1345
1367
|
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
1346
1368
|
firCount?: number;
|
|
1369
|
+
frameHeight?: number;
|
|
1370
|
+
frameWidth?: number;
|
|
1347
1371
|
framesEncoded?: number;
|
|
1372
|
+
framesPerSecond?: number;
|
|
1373
|
+
framesSent?: number;
|
|
1374
|
+
headerBytesSent?: number;
|
|
1375
|
+
hugeFramesSent?: number;
|
|
1376
|
+
keyFramesEncoded?: number;
|
|
1377
|
+
mediaSourceId?: string;
|
|
1348
1378
|
nackCount?: number;
|
|
1349
1379
|
pliCount?: number;
|
|
1350
1380
|
qpSum?: number;
|
|
1381
|
+
qualityLimitationResolutionChanges?: number;
|
|
1351
1382
|
remoteId?: string;
|
|
1383
|
+
retransmittedBytesSent?: number;
|
|
1384
|
+
retransmittedPacketsSent?: number;
|
|
1385
|
+
rid?: string;
|
|
1386
|
+
targetBitrate?: number;
|
|
1387
|
+
totalEncodeTime?: number;
|
|
1388
|
+
totalEncodedBytesTarget?: number;
|
|
1389
|
+
totalPacketSendDelay?: number;
|
|
1352
1390
|
}
|
|
1353
1391
|
|
|
1354
1392
|
interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
@@ -1365,8 +1403,8 @@ interface RTCPeerConnectionIceEventInit extends EventInit {
|
|
|
1365
1403
|
}
|
|
1366
1404
|
|
|
1367
1405
|
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
|
|
1406
|
+
framesDropped?: number;
|
|
1368
1407
|
jitter?: number;
|
|
1369
|
-
packetsDiscarded?: number;
|
|
1370
1408
|
packetsLost?: number;
|
|
1371
1409
|
packetsReceived?: number;
|
|
1372
1410
|
}
|
|
@@ -1485,7 +1523,6 @@ interface RTCTransportStats extends RTCStats {
|
|
|
1485
1523
|
dtlsState: RTCDtlsTransportState;
|
|
1486
1524
|
localCertificateId?: string;
|
|
1487
1525
|
remoteCertificateId?: string;
|
|
1488
|
-
rtcpTransportStatsId?: string;
|
|
1489
1526
|
selectedCandidatePairId?: string;
|
|
1490
1527
|
srtpCipher?: string;
|
|
1491
1528
|
tlsVersion?: string;
|
|
@@ -1942,12 +1979,14 @@ interface ARIAMixin {
|
|
|
1942
1979
|
ariaChecked: string | null;
|
|
1943
1980
|
ariaColCount: string | null;
|
|
1944
1981
|
ariaColIndex: string | null;
|
|
1982
|
+
ariaColIndexText: string | null;
|
|
1945
1983
|
ariaColSpan: string | null;
|
|
1946
1984
|
ariaCurrent: string | null;
|
|
1947
1985
|
ariaDisabled: string | null;
|
|
1948
1986
|
ariaExpanded: string | null;
|
|
1949
1987
|
ariaHasPopup: string | null;
|
|
1950
1988
|
ariaHidden: string | null;
|
|
1989
|
+
ariaInvalid: string | null;
|
|
1951
1990
|
ariaKeyShortcuts: string | null;
|
|
1952
1991
|
ariaLabel: string | null;
|
|
1953
1992
|
ariaLevel: string | null;
|
|
@@ -1964,6 +2003,7 @@ interface ARIAMixin {
|
|
|
1964
2003
|
ariaRoleDescription: string | null;
|
|
1965
2004
|
ariaRowCount: string | null;
|
|
1966
2005
|
ariaRowIndex: string | null;
|
|
2006
|
+
ariaRowIndexText: string | null;
|
|
1967
2007
|
ariaRowSpan: string | null;
|
|
1968
2008
|
ariaSelected: string | null;
|
|
1969
2009
|
ariaSetSize: string | null;
|
|
@@ -1972,6 +2012,7 @@ interface ARIAMixin {
|
|
|
1972
2012
|
ariaValueMin: string | null;
|
|
1973
2013
|
ariaValueNow: string | null;
|
|
1974
2014
|
ariaValueText: string | null;
|
|
2015
|
+
role: string | null;
|
|
1975
2016
|
}
|
|
1976
2017
|
|
|
1977
2018
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
@@ -2143,7 +2184,7 @@ declare var AnimationPlaybackEvent: {
|
|
|
2143
2184
|
};
|
|
2144
2185
|
|
|
2145
2186
|
interface AnimationTimeline {
|
|
2146
|
-
readonly currentTime:
|
|
2187
|
+
readonly currentTime: CSSNumberish | null;
|
|
2147
2188
|
}
|
|
2148
2189
|
|
|
2149
2190
|
declare var AnimationTimeline: {
|
|
@@ -2159,6 +2200,7 @@ interface Attr extends Node {
|
|
|
2159
2200
|
readonly ownerDocument: Document;
|
|
2160
2201
|
readonly ownerElement: Element | null;
|
|
2161
2202
|
readonly prefix: string | null;
|
|
2203
|
+
/** @deprecated */
|
|
2162
2204
|
readonly specified: boolean;
|
|
2163
2205
|
value: string;
|
|
2164
2206
|
}
|
|
@@ -2395,6 +2437,8 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2395
2437
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2396
2438
|
readonly attestationObject: ArrayBuffer;
|
|
2397
2439
|
getAuthenticatorData(): ArrayBuffer;
|
|
2440
|
+
getPublicKey(): ArrayBuffer | null;
|
|
2441
|
+
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
|
|
2398
2442
|
getTransports(): string[];
|
|
2399
2443
|
}
|
|
2400
2444
|
|
|
@@ -2594,6 +2638,14 @@ declare var CSSConditionRule: {
|
|
|
2594
2638
|
new(): CSSConditionRule;
|
|
2595
2639
|
};
|
|
2596
2640
|
|
|
2641
|
+
interface CSSContainerRule extends CSSConditionRule {
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
declare var CSSContainerRule: {
|
|
2645
|
+
prototype: CSSContainerRule;
|
|
2646
|
+
new(): CSSContainerRule;
|
|
2647
|
+
};
|
|
2648
|
+
|
|
2597
2649
|
interface CSSCounterStyleRule extends CSSRule {
|
|
2598
2650
|
additiveSymbols: string;
|
|
2599
2651
|
fallback: string;
|
|
@@ -2622,6 +2674,18 @@ declare var CSSFontFaceRule: {
|
|
|
2622
2674
|
new(): CSSFontFaceRule;
|
|
2623
2675
|
};
|
|
2624
2676
|
|
|
2677
|
+
interface CSSFontPaletteValuesRule extends CSSRule {
|
|
2678
|
+
readonly basePalette: string;
|
|
2679
|
+
readonly fontFamily: string;
|
|
2680
|
+
readonly name: string;
|
|
2681
|
+
readonly overrideColors: string;
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
declare var CSSFontPaletteValuesRule: {
|
|
2685
|
+
prototype: CSSFontPaletteValuesRule;
|
|
2686
|
+
new(): CSSFontPaletteValuesRule;
|
|
2687
|
+
};
|
|
2688
|
+
|
|
2625
2689
|
/** Any CSS at-rule that contains other rules nested within it. */
|
|
2626
2690
|
interface CSSGroupingRule extends CSSRule {
|
|
2627
2691
|
readonly cssRules: CSSRuleList;
|
|
@@ -2636,6 +2700,7 @@ declare var CSSGroupingRule: {
|
|
|
2636
2700
|
|
|
2637
2701
|
interface CSSImportRule extends CSSRule {
|
|
2638
2702
|
readonly href: string;
|
|
2703
|
+
readonly layerName: string | null;
|
|
2639
2704
|
readonly media: MediaList;
|
|
2640
2705
|
readonly styleSheet: CSSStyleSheet;
|
|
2641
2706
|
}
|
|
@@ -2670,6 +2735,24 @@ declare var CSSKeyframesRule: {
|
|
|
2670
2735
|
new(): CSSKeyframesRule;
|
|
2671
2736
|
};
|
|
2672
2737
|
|
|
2738
|
+
interface CSSLayerBlockRule extends CSSGroupingRule {
|
|
2739
|
+
readonly name: string;
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
declare var CSSLayerBlockRule: {
|
|
2743
|
+
prototype: CSSLayerBlockRule;
|
|
2744
|
+
new(): CSSLayerBlockRule;
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
interface CSSLayerStatementRule extends CSSRule {
|
|
2748
|
+
readonly nameList: ReadonlyArray<string>;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
declare var CSSLayerStatementRule: {
|
|
2752
|
+
prototype: CSSLayerStatementRule;
|
|
2753
|
+
new(): CSSLayerStatementRule;
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2673
2756
|
/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */
|
|
2674
2757
|
interface CSSMediaRule extends CSSConditionRule {
|
|
2675
2758
|
readonly media: MediaList;
|
|
@@ -2767,6 +2850,7 @@ interface CSSStyleDeclaration {
|
|
|
2767
2850
|
animationTimingFunction: string;
|
|
2768
2851
|
appearance: string;
|
|
2769
2852
|
aspectRatio: string;
|
|
2853
|
+
backdropFilter: string;
|
|
2770
2854
|
backfaceVisibility: string;
|
|
2771
2855
|
background: string;
|
|
2772
2856
|
backgroundAttachment: string;
|
|
@@ -2871,6 +2955,9 @@ interface CSSStyleDeclaration {
|
|
|
2871
2955
|
columnWidth: string;
|
|
2872
2956
|
columns: string;
|
|
2873
2957
|
contain: string;
|
|
2958
|
+
container: string;
|
|
2959
|
+
containerName: string;
|
|
2960
|
+
containerType: string;
|
|
2874
2961
|
content: string;
|
|
2875
2962
|
counterIncrement: string;
|
|
2876
2963
|
counterReset: string;
|
|
@@ -2901,6 +2988,7 @@ interface CSSStyleDeclaration {
|
|
|
2901
2988
|
fontFeatureSettings: string;
|
|
2902
2989
|
fontKerning: string;
|
|
2903
2990
|
fontOpticalSizing: string;
|
|
2991
|
+
fontPalette: string;
|
|
2904
2992
|
fontSize: string;
|
|
2905
2993
|
fontSizeAdjust: string;
|
|
2906
2994
|
fontStretch: string;
|
|
@@ -2938,6 +3026,7 @@ interface CSSStyleDeclaration {
|
|
|
2938
3026
|
gridTemplateColumns: string;
|
|
2939
3027
|
gridTemplateRows: string;
|
|
2940
3028
|
height: string;
|
|
3029
|
+
hyphenateCharacter: string;
|
|
2941
3030
|
hyphens: string;
|
|
2942
3031
|
/** @deprecated */
|
|
2943
3032
|
imageOrientation: string;
|
|
@@ -3471,6 +3560,7 @@ interface CanvasPath {
|
|
|
3471
3560
|
moveTo(x: number, y: number): void;
|
|
3472
3561
|
quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
|
|
3473
3562
|
rect(x: number, y: number, w: number, h: number): void;
|
|
3563
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;
|
|
3474
3564
|
}
|
|
3475
3565
|
|
|
3476
3566
|
interface CanvasPathDrawingStyles {
|
|
@@ -3532,6 +3622,7 @@ interface CanvasText {
|
|
|
3532
3622
|
interface CanvasTextDrawingStyles {
|
|
3533
3623
|
direction: CanvasDirection;
|
|
3534
3624
|
font: string;
|
|
3625
|
+
fontKerning: CanvasFontKerning;
|
|
3535
3626
|
textAlign: CanvasTextAlign;
|
|
3536
3627
|
textBaseline: CanvasTextBaseline;
|
|
3537
3628
|
}
|
|
@@ -4393,7 +4484,10 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4393
4484
|
readonly documentElement: HTMLElement;
|
|
4394
4485
|
/** Returns document's URL. */
|
|
4395
4486
|
readonly documentURI: string;
|
|
4396
|
-
/**
|
|
4487
|
+
/**
|
|
4488
|
+
* Sets or gets the security domain of the document.
|
|
4489
|
+
* @deprecated
|
|
4490
|
+
*/
|
|
4397
4491
|
domain: string;
|
|
4398
4492
|
/** Retrieves a collection of all embed objects in the document. */
|
|
4399
4493
|
readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;
|
|
@@ -4547,7 +4641,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4547
4641
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4548
4642
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4549
4643
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
4550
|
-
createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;
|
|
4551
4644
|
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
|
|
4552
4645
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
4553
4646
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
@@ -4677,6 +4770,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4677
4770
|
/**
|
|
4678
4771
|
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
|
|
4679
4772
|
* @param commandId String that specifies a command identifier.
|
|
4773
|
+
* @deprecated
|
|
4680
4774
|
*/
|
|
4681
4775
|
queryCommandIndeterm(commandId: string): boolean;
|
|
4682
4776
|
/**
|
|
@@ -4694,6 +4788,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4694
4788
|
/**
|
|
4695
4789
|
* Returns the current value of the document, range, or current selection for the given command.
|
|
4696
4790
|
* @param commandId String that specifies a command identifier.
|
|
4791
|
+
* @deprecated
|
|
4697
4792
|
*/
|
|
4698
4793
|
queryCommandValue(commandId: string): string;
|
|
4699
4794
|
/** @deprecated */
|
|
@@ -4872,6 +4967,17 @@ interface EXT_texture_filter_anisotropic {
|
|
|
4872
4967
|
readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum;
|
|
4873
4968
|
}
|
|
4874
4969
|
|
|
4970
|
+
interface EXT_texture_norm16 {
|
|
4971
|
+
readonly R16_EXT: GLenum;
|
|
4972
|
+
readonly R16_SNORM_EXT: GLenum;
|
|
4973
|
+
readonly RG16_EXT: GLenum;
|
|
4974
|
+
readonly RG16_SNORM_EXT: GLenum;
|
|
4975
|
+
readonly RGB16_EXT: GLenum;
|
|
4976
|
+
readonly RGB16_SNORM_EXT: GLenum;
|
|
4977
|
+
readonly RGBA16_EXT: GLenum;
|
|
4978
|
+
readonly RGBA16_SNORM_EXT: GLenum;
|
|
4979
|
+
}
|
|
4980
|
+
|
|
4875
4981
|
interface ElementEventMap {
|
|
4876
4982
|
"fullscreenchange": Event;
|
|
4877
4983
|
"fullscreenerror": Event;
|
|
@@ -5054,6 +5160,7 @@ declare var ErrorEvent: {
|
|
|
5054
5160
|
interface Event {
|
|
5055
5161
|
/** Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. */
|
|
5056
5162
|
readonly bubbles: boolean;
|
|
5163
|
+
/** @deprecated */
|
|
5057
5164
|
cancelBubble: boolean;
|
|
5058
5165
|
/** Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. */
|
|
5059
5166
|
readonly cancelable: boolean;
|
|
@@ -5590,6 +5697,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5590
5697
|
"auxclick": MouseEvent;
|
|
5591
5698
|
"beforeinput": InputEvent;
|
|
5592
5699
|
"blur": FocusEvent;
|
|
5700
|
+
"cancel": Event;
|
|
5593
5701
|
"canplay": Event;
|
|
5594
5702
|
"canplaythrough": Event;
|
|
5595
5703
|
"change": Event;
|
|
@@ -5690,11 +5798,13 @@ interface GlobalEventHandlers {
|
|
|
5690
5798
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5691
5799
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5692
5800
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5801
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
5693
5802
|
/**
|
|
5694
5803
|
* Fires when the object loses the input focus.
|
|
5695
5804
|
* @param ev The focus event.
|
|
5696
5805
|
*/
|
|
5697
5806
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5807
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5698
5808
|
/**
|
|
5699
5809
|
* Occurs when playback is possible, but would require further buffering.
|
|
5700
5810
|
* @param ev The event.
|
|
@@ -8791,13 +8901,13 @@ declare var IDBObjectStore: {
|
|
|
8791
8901
|
};
|
|
8792
8902
|
|
|
8793
8903
|
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
8794
|
-
"blocked":
|
|
8904
|
+
"blocked": IDBVersionChangeEvent;
|
|
8795
8905
|
"upgradeneeded": IDBVersionChangeEvent;
|
|
8796
8906
|
}
|
|
8797
8907
|
|
|
8798
8908
|
/** Also inherits methods from its parents IDBRequest and EventTarget. */
|
|
8799
8909
|
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
|
|
8800
|
-
onblocked: ((this: IDBOpenDBRequest, ev:
|
|
8910
|
+
onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8801
8911
|
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8802
8912
|
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8803
8913
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9206,7 +9316,7 @@ interface MediaDevicesEventMap {
|
|
|
9206
9316
|
interface MediaDevices extends EventTarget {
|
|
9207
9317
|
ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;
|
|
9208
9318
|
enumerateDevices(): Promise<MediaDeviceInfo[]>;
|
|
9209
|
-
getDisplayMedia(
|
|
9319
|
+
getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;
|
|
9210
9320
|
getSupportedConstraints(): MediaTrackSupportedConstraints;
|
|
9211
9321
|
getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;
|
|
9212
9322
|
addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9413,7 +9523,7 @@ declare var MediaQueryListEvent: {
|
|
|
9413
9523
|
|
|
9414
9524
|
interface MediaRecorderEventMap {
|
|
9415
9525
|
"dataavailable": BlobEvent;
|
|
9416
|
-
"error":
|
|
9526
|
+
"error": Event;
|
|
9417
9527
|
"pause": Event;
|
|
9418
9528
|
"resume": Event;
|
|
9419
9529
|
"start": Event;
|
|
@@ -9424,7 +9534,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
9424
9534
|
readonly audioBitsPerSecond: number;
|
|
9425
9535
|
readonly mimeType: string;
|
|
9426
9536
|
ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
|
|
9427
|
-
onerror: ((this: MediaRecorder, ev:
|
|
9537
|
+
onerror: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9428
9538
|
onpause: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9429
9539
|
onresume: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9430
9540
|
onstart: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
@@ -9449,15 +9559,6 @@ declare var MediaRecorder: {
|
|
|
9449
9559
|
isTypeSupported(type: string): boolean;
|
|
9450
9560
|
};
|
|
9451
9561
|
|
|
9452
|
-
interface MediaRecorderErrorEvent extends Event {
|
|
9453
|
-
readonly error: DOMException;
|
|
9454
|
-
}
|
|
9455
|
-
|
|
9456
|
-
declare var MediaRecorderErrorEvent: {
|
|
9457
|
-
prototype: MediaRecorderErrorEvent;
|
|
9458
|
-
new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;
|
|
9459
|
-
};
|
|
9460
|
-
|
|
9461
9562
|
interface MediaSession {
|
|
9462
9563
|
metadata: MediaMetadata | null;
|
|
9463
9564
|
playbackState: MediaSessionPlaybackState;
|
|
@@ -9910,12 +10011,14 @@ interface NavigatorID {
|
|
|
9910
10011
|
readonly appName: string;
|
|
9911
10012
|
/** @deprecated */
|
|
9912
10013
|
readonly appVersion: string;
|
|
10014
|
+
/** @deprecated */
|
|
9913
10015
|
readonly platform: string;
|
|
9914
10016
|
/** @deprecated */
|
|
9915
10017
|
readonly product: string;
|
|
9916
10018
|
/** @deprecated */
|
|
9917
10019
|
readonly productSub: string;
|
|
9918
10020
|
readonly userAgent: string;
|
|
10021
|
+
/** @deprecated */
|
|
9919
10022
|
readonly vendor: string;
|
|
9920
10023
|
/** @deprecated */
|
|
9921
10024
|
readonly vendorSub: string;
|
|
@@ -10164,6 +10267,16 @@ declare var Notification: {
|
|
|
10164
10267
|
requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;
|
|
10165
10268
|
};
|
|
10166
10269
|
|
|
10270
|
+
interface OES_draw_buffers_indexed {
|
|
10271
|
+
blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;
|
|
10272
|
+
blendEquationiOES(buf: GLuint, mode: GLenum): void;
|
|
10273
|
+
blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
|
|
10274
|
+
blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;
|
|
10275
|
+
colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;
|
|
10276
|
+
disableiOES(target: GLenum, index: GLuint): void;
|
|
10277
|
+
enableiOES(target: GLenum, index: GLuint): void;
|
|
10278
|
+
}
|
|
10279
|
+
|
|
10167
10280
|
/** The OES_element_index_uint extension is part of the WebGL API and adds support for gl.UNSIGNED_INT types to WebGLRenderingContext.drawElements(). */
|
|
10168
10281
|
interface OES_element_index_uint {
|
|
10169
10282
|
}
|
|
@@ -10885,6 +10998,7 @@ declare var PromiseRejectionEvent: {
|
|
|
10885
10998
|
|
|
10886
10999
|
/** Available only in secure contexts. */
|
|
10887
11000
|
interface PublicKeyCredential extends Credential {
|
|
11001
|
+
readonly authenticatorAttachment: string | null;
|
|
10888
11002
|
readonly rawId: ArrayBuffer;
|
|
10889
11003
|
readonly response: AuthenticatorResponse;
|
|
10890
11004
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
@@ -13055,6 +13169,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle {
|
|
|
13055
13169
|
disabled: boolean;
|
|
13056
13170
|
media: string;
|
|
13057
13171
|
title: string;
|
|
13172
|
+
/** @deprecated */
|
|
13058
13173
|
type: string;
|
|
13059
13174
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13060
13175
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13417,6 +13532,7 @@ interface Selection {
|
|
|
13417
13532
|
empty(): void;
|
|
13418
13533
|
extend(node: Node, offset?: number): void;
|
|
13419
13534
|
getRangeAt(index: number): Range;
|
|
13535
|
+
modify(alter?: string, direction?: string, granularity?: string): void;
|
|
13420
13536
|
removeAllRanges(): void;
|
|
13421
13537
|
removeRange(range: Range): void;
|
|
13422
13538
|
selectAllChildren(node: Node): void;
|
|
@@ -13815,6 +13931,7 @@ interface StorageEvent extends Event {
|
|
|
13815
13931
|
readonly storageArea: Storage | null;
|
|
13816
13932
|
/** Returns the URL of the document whose storage item changed. */
|
|
13817
13933
|
readonly url: string;
|
|
13934
|
+
/** @deprecated */
|
|
13818
13935
|
initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;
|
|
13819
13936
|
}
|
|
13820
13937
|
|
|
@@ -14597,8 +14714,8 @@ interface WEBGL_lose_context {
|
|
|
14597
14714
|
interface WEBGL_multi_draw {
|
|
14598
14715
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14599
14716
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
14600
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array |
|
|
14601
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array |
|
|
14717
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14718
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14602
14719
|
}
|
|
14603
14720
|
|
|
14604
14721
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
@@ -17785,11 +17902,13 @@ declare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
|
17785
17902
|
declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17786
17903
|
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17787
17904
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
17905
|
+
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
17788
17906
|
/**
|
|
17789
17907
|
* Fires when the object loses the input focus.
|
|
17790
17908
|
* @param ev The focus event.
|
|
17791
17909
|
*/
|
|
17792
17910
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
17911
|
+
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
17793
17912
|
/**
|
|
17794
17913
|
* Occurs when playback is possible, but would require further buffering.
|
|
17795
17914
|
* @param ev The event.
|
|
@@ -18150,8 +18269,6 @@ type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasEle
|
|
|
18150
18269
|
type TimerHandler = string | Function;
|
|
18151
18270
|
type Transferable = ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
18152
18271
|
type Uint32List = Uint32Array | GLuint[];
|
|
18153
|
-
type UvmEntries = UvmEntry[];
|
|
18154
|
-
type UvmEntry = number[];
|
|
18155
18272
|
type VibratePattern = number | number[];
|
|
18156
18273
|
type WindowProxy = Window;
|
|
18157
18274
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
@@ -18163,7 +18280,7 @@ type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "n
|
|
|
18163
18280
|
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
18164
18281
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
18165
18282
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
18166
|
-
type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";
|
|
18283
|
+
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
18167
18284
|
type AutoKeyword = "auto";
|
|
18168
18285
|
type AutomationRate = "a-rate" | "k-rate";
|
|
18169
18286
|
type BinaryType = "arraybuffer" | "blob";
|
|
@@ -18224,7 +18341,7 @@ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-r
|
|
|
18224
18341
|
type MediaKeySessionType = "persistent-license" | "temporary";
|
|
18225
18342
|
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
|
|
18226
18343
|
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
|
|
18227
|
-
type MediaSessionAction = "
|
|
18344
|
+
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
|
|
18228
18345
|
type MediaSessionPlaybackState = "none" | "paused" | "playing";
|
|
18229
18346
|
type MediaStreamTrackState = "ended" | "live";
|
|
18230
18347
|
type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
|
|
@@ -18254,7 +18371,6 @@ type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint
|
|
|
18254
18371
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
18255
18372
|
type RTCIceComponent = "rtcp" | "rtp";
|
|
18256
18373
|
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
18257
|
-
type RTCIceCredentialType = "password";
|
|
18258
18374
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
18259
18375
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
18260
18376
|
type RTCIceProtocol = "tcp" | "udp";
|
|
@@ -18269,7 +18385,7 @@ type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
|
18269
18385
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
18270
18386
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
18271
18387
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
18272
|
-
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "
|
|
18388
|
+
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" | "track" | "transport";
|
|
18273
18389
|
type ReadableStreamReaderMode = "byob";
|
|
18274
18390
|
type ReadableStreamType = "bytes";
|
|
18275
18391
|
type ReadyState = "closed" | "ended" | "open";
|
package/iterable.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ interface Cache {
|
|
|
26
26
|
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
interface CanvasPath {
|
|
30
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
interface CanvasPathDrawingStyles {
|
|
30
34
|
setLineDash(segments: Iterable<number>): void;
|
|
31
35
|
}
|
|
@@ -253,8 +257,8 @@ interface WEBGL_draw_buffers {
|
|
|
253
257
|
interface WEBGL_multi_draw {
|
|
254
258
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
255
259
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
|
256
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<
|
|
257
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<
|
|
260
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
261
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
258
262
|
}
|
|
259
263
|
|
|
260
264
|
interface WebGL2RenderingContextBase {
|