@types/web 0.0.72 → 0.0.73
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 +116 -36
- package/iterable.d.ts +2 -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.73 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.73.
|
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. */
|
|
@@ -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
|
}
|
|
@@ -2622,6 +2664,18 @@ declare var CSSFontFaceRule: {
|
|
|
2622
2664
|
new(): CSSFontFaceRule;
|
|
2623
2665
|
};
|
|
2624
2666
|
|
|
2667
|
+
interface CSSFontPaletteValuesRule extends CSSRule {
|
|
2668
|
+
readonly basePalette: string;
|
|
2669
|
+
readonly fontFamily: string;
|
|
2670
|
+
readonly name: string;
|
|
2671
|
+
readonly overrideColors: string;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
declare var CSSFontPaletteValuesRule: {
|
|
2675
|
+
prototype: CSSFontPaletteValuesRule;
|
|
2676
|
+
new(): CSSFontPaletteValuesRule;
|
|
2677
|
+
};
|
|
2678
|
+
|
|
2625
2679
|
/** Any CSS at-rule that contains other rules nested within it. */
|
|
2626
2680
|
interface CSSGroupingRule extends CSSRule {
|
|
2627
2681
|
readonly cssRules: CSSRuleList;
|
|
@@ -2636,6 +2690,7 @@ declare var CSSGroupingRule: {
|
|
|
2636
2690
|
|
|
2637
2691
|
interface CSSImportRule extends CSSRule {
|
|
2638
2692
|
readonly href: string;
|
|
2693
|
+
readonly layerName: string | null;
|
|
2639
2694
|
readonly media: MediaList;
|
|
2640
2695
|
readonly styleSheet: CSSStyleSheet;
|
|
2641
2696
|
}
|
|
@@ -2670,6 +2725,24 @@ declare var CSSKeyframesRule: {
|
|
|
2670
2725
|
new(): CSSKeyframesRule;
|
|
2671
2726
|
};
|
|
2672
2727
|
|
|
2728
|
+
interface CSSLayerBlockRule extends CSSGroupingRule {
|
|
2729
|
+
readonly name: string;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
declare var CSSLayerBlockRule: {
|
|
2733
|
+
prototype: CSSLayerBlockRule;
|
|
2734
|
+
new(): CSSLayerBlockRule;
|
|
2735
|
+
};
|
|
2736
|
+
|
|
2737
|
+
interface CSSLayerStatementRule extends CSSRule {
|
|
2738
|
+
readonly nameList: ReadonlyArray<string>;
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
declare var CSSLayerStatementRule: {
|
|
2742
|
+
prototype: CSSLayerStatementRule;
|
|
2743
|
+
new(): CSSLayerStatementRule;
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2673
2746
|
/** 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
2747
|
interface CSSMediaRule extends CSSConditionRule {
|
|
2675
2748
|
readonly media: MediaList;
|
|
@@ -2767,6 +2840,7 @@ interface CSSStyleDeclaration {
|
|
|
2767
2840
|
animationTimingFunction: string;
|
|
2768
2841
|
appearance: string;
|
|
2769
2842
|
aspectRatio: string;
|
|
2843
|
+
backdropFilter: string;
|
|
2770
2844
|
backfaceVisibility: string;
|
|
2771
2845
|
background: string;
|
|
2772
2846
|
backgroundAttachment: string;
|
|
@@ -2901,6 +2975,7 @@ interface CSSStyleDeclaration {
|
|
|
2901
2975
|
fontFeatureSettings: string;
|
|
2902
2976
|
fontKerning: string;
|
|
2903
2977
|
fontOpticalSizing: string;
|
|
2978
|
+
fontPalette: string;
|
|
2904
2979
|
fontSize: string;
|
|
2905
2980
|
fontSizeAdjust: string;
|
|
2906
2981
|
fontStretch: string;
|
|
@@ -3532,6 +3607,7 @@ interface CanvasText {
|
|
|
3532
3607
|
interface CanvasTextDrawingStyles {
|
|
3533
3608
|
direction: CanvasDirection;
|
|
3534
3609
|
font: string;
|
|
3610
|
+
fontKerning: CanvasFontKerning;
|
|
3535
3611
|
textAlign: CanvasTextAlign;
|
|
3536
3612
|
textBaseline: CanvasTextBaseline;
|
|
3537
3613
|
}
|
|
@@ -4393,7 +4469,10 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4393
4469
|
readonly documentElement: HTMLElement;
|
|
4394
4470
|
/** Returns document's URL. */
|
|
4395
4471
|
readonly documentURI: string;
|
|
4396
|
-
/**
|
|
4472
|
+
/**
|
|
4473
|
+
* Sets or gets the security domain of the document.
|
|
4474
|
+
* @deprecated
|
|
4475
|
+
*/
|
|
4397
4476
|
domain: string;
|
|
4398
4477
|
/** Retrieves a collection of all embed objects in the document. */
|
|
4399
4478
|
readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;
|
|
@@ -4547,7 +4626,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4547
4626
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4548
4627
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4549
4628
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
4550
|
-
createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;
|
|
4551
4629
|
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
|
|
4552
4630
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
4553
4631
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
@@ -4677,6 +4755,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4677
4755
|
/**
|
|
4678
4756
|
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
|
|
4679
4757
|
* @param commandId String that specifies a command identifier.
|
|
4758
|
+
* @deprecated
|
|
4680
4759
|
*/
|
|
4681
4760
|
queryCommandIndeterm(commandId: string): boolean;
|
|
4682
4761
|
/**
|
|
@@ -4694,6 +4773,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4694
4773
|
/**
|
|
4695
4774
|
* Returns the current value of the document, range, or current selection for the given command.
|
|
4696
4775
|
* @param commandId String that specifies a command identifier.
|
|
4776
|
+
* @deprecated
|
|
4697
4777
|
*/
|
|
4698
4778
|
queryCommandValue(commandId: string): string;
|
|
4699
4779
|
/** @deprecated */
|
|
@@ -5054,6 +5134,7 @@ declare var ErrorEvent: {
|
|
|
5054
5134
|
interface Event {
|
|
5055
5135
|
/** 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
5136
|
readonly bubbles: boolean;
|
|
5137
|
+
/** @deprecated */
|
|
5057
5138
|
cancelBubble: boolean;
|
|
5058
5139
|
/** 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
5140
|
readonly cancelable: boolean;
|
|
@@ -5590,6 +5671,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5590
5671
|
"auxclick": MouseEvent;
|
|
5591
5672
|
"beforeinput": InputEvent;
|
|
5592
5673
|
"blur": FocusEvent;
|
|
5674
|
+
"cancel": Event;
|
|
5593
5675
|
"canplay": Event;
|
|
5594
5676
|
"canplaythrough": Event;
|
|
5595
5677
|
"change": Event;
|
|
@@ -5690,11 +5772,13 @@ interface GlobalEventHandlers {
|
|
|
5690
5772
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5691
5773
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5692
5774
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5775
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
5693
5776
|
/**
|
|
5694
5777
|
* Fires when the object loses the input focus.
|
|
5695
5778
|
* @param ev The focus event.
|
|
5696
5779
|
*/
|
|
5697
5780
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5781
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5698
5782
|
/**
|
|
5699
5783
|
* Occurs when playback is possible, but would require further buffering.
|
|
5700
5784
|
* @param ev The event.
|
|
@@ -9206,7 +9290,7 @@ interface MediaDevicesEventMap {
|
|
|
9206
9290
|
interface MediaDevices extends EventTarget {
|
|
9207
9291
|
ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;
|
|
9208
9292
|
enumerateDevices(): Promise<MediaDeviceInfo[]>;
|
|
9209
|
-
getDisplayMedia(
|
|
9293
|
+
getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;
|
|
9210
9294
|
getSupportedConstraints(): MediaTrackSupportedConstraints;
|
|
9211
9295
|
getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;
|
|
9212
9296
|
addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9413,7 +9497,7 @@ declare var MediaQueryListEvent: {
|
|
|
9413
9497
|
|
|
9414
9498
|
interface MediaRecorderEventMap {
|
|
9415
9499
|
"dataavailable": BlobEvent;
|
|
9416
|
-
"error":
|
|
9500
|
+
"error": Event;
|
|
9417
9501
|
"pause": Event;
|
|
9418
9502
|
"resume": Event;
|
|
9419
9503
|
"start": Event;
|
|
@@ -9424,7 +9508,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
9424
9508
|
readonly audioBitsPerSecond: number;
|
|
9425
9509
|
readonly mimeType: string;
|
|
9426
9510
|
ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
|
|
9427
|
-
onerror: ((this: MediaRecorder, ev:
|
|
9511
|
+
onerror: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9428
9512
|
onpause: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9429
9513
|
onresume: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9430
9514
|
onstart: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
@@ -9449,15 +9533,6 @@ declare var MediaRecorder: {
|
|
|
9449
9533
|
isTypeSupported(type: string): boolean;
|
|
9450
9534
|
};
|
|
9451
9535
|
|
|
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
9536
|
interface MediaSession {
|
|
9462
9537
|
metadata: MediaMetadata | null;
|
|
9463
9538
|
playbackState: MediaSessionPlaybackState;
|
|
@@ -9910,12 +9985,14 @@ interface NavigatorID {
|
|
|
9910
9985
|
readonly appName: string;
|
|
9911
9986
|
/** @deprecated */
|
|
9912
9987
|
readonly appVersion: string;
|
|
9988
|
+
/** @deprecated */
|
|
9913
9989
|
readonly platform: string;
|
|
9914
9990
|
/** @deprecated */
|
|
9915
9991
|
readonly product: string;
|
|
9916
9992
|
/** @deprecated */
|
|
9917
9993
|
readonly productSub: string;
|
|
9918
9994
|
readonly userAgent: string;
|
|
9995
|
+
/** @deprecated */
|
|
9919
9996
|
readonly vendor: string;
|
|
9920
9997
|
/** @deprecated */
|
|
9921
9998
|
readonly vendorSub: string;
|
|
@@ -10885,6 +10962,7 @@ declare var PromiseRejectionEvent: {
|
|
|
10885
10962
|
|
|
10886
10963
|
/** Available only in secure contexts. */
|
|
10887
10964
|
interface PublicKeyCredential extends Credential {
|
|
10965
|
+
readonly authenticatorAttachment: string | null;
|
|
10888
10966
|
readonly rawId: ArrayBuffer;
|
|
10889
10967
|
readonly response: AuthenticatorResponse;
|
|
10890
10968
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
@@ -13055,6 +13133,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle {
|
|
|
13055
13133
|
disabled: boolean;
|
|
13056
13134
|
media: string;
|
|
13057
13135
|
title: string;
|
|
13136
|
+
/** @deprecated */
|
|
13058
13137
|
type: string;
|
|
13059
13138
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13060
13139
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13417,6 +13496,7 @@ interface Selection {
|
|
|
13417
13496
|
empty(): void;
|
|
13418
13497
|
extend(node: Node, offset?: number): void;
|
|
13419
13498
|
getRangeAt(index: number): Range;
|
|
13499
|
+
modify(alter?: string, direction?: string, granularity?: string): void;
|
|
13420
13500
|
removeAllRanges(): void;
|
|
13421
13501
|
removeRange(range: Range): void;
|
|
13422
13502
|
selectAllChildren(node: Node): void;
|
|
@@ -13815,6 +13895,7 @@ interface StorageEvent extends Event {
|
|
|
13815
13895
|
readonly storageArea: Storage | null;
|
|
13816
13896
|
/** Returns the URL of the document whose storage item changed. */
|
|
13817
13897
|
readonly url: string;
|
|
13898
|
+
/** @deprecated */
|
|
13818
13899
|
initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;
|
|
13819
13900
|
}
|
|
13820
13901
|
|
|
@@ -14597,8 +14678,8 @@ interface WEBGL_lose_context {
|
|
|
14597
14678
|
interface WEBGL_multi_draw {
|
|
14598
14679
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14599
14680
|
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 |
|
|
14681
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14682
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14602
14683
|
}
|
|
14603
14684
|
|
|
14604
14685
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
@@ -17785,11 +17866,13 @@ declare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
|
17785
17866
|
declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17786
17867
|
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17787
17868
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
17869
|
+
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
17788
17870
|
/**
|
|
17789
17871
|
* Fires when the object loses the input focus.
|
|
17790
17872
|
* @param ev The focus event.
|
|
17791
17873
|
*/
|
|
17792
17874
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
17875
|
+
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
17793
17876
|
/**
|
|
17794
17877
|
* Occurs when playback is possible, but would require further buffering.
|
|
17795
17878
|
* @param ev The event.
|
|
@@ -18150,8 +18233,6 @@ type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasEle
|
|
|
18150
18233
|
type TimerHandler = string | Function;
|
|
18151
18234
|
type Transferable = ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
18152
18235
|
type Uint32List = Uint32Array | GLuint[];
|
|
18153
|
-
type UvmEntries = UvmEntry[];
|
|
18154
|
-
type UvmEntry = number[];
|
|
18155
18236
|
type VibratePattern = number | number[];
|
|
18156
18237
|
type WindowProxy = Window;
|
|
18157
18238
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
@@ -18163,7 +18244,7 @@ type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "n
|
|
|
18163
18244
|
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
18164
18245
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
18165
18246
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
18166
|
-
type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";
|
|
18247
|
+
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
18167
18248
|
type AutoKeyword = "auto";
|
|
18168
18249
|
type AutomationRate = "a-rate" | "k-rate";
|
|
18169
18250
|
type BinaryType = "arraybuffer" | "blob";
|
|
@@ -18224,7 +18305,7 @@ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-r
|
|
|
18224
18305
|
type MediaKeySessionType = "persistent-license" | "temporary";
|
|
18225
18306
|
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
|
|
18226
18307
|
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
|
|
18227
|
-
type MediaSessionAction = "
|
|
18308
|
+
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
|
|
18228
18309
|
type MediaSessionPlaybackState = "none" | "paused" | "playing";
|
|
18229
18310
|
type MediaStreamTrackState = "ended" | "live";
|
|
18230
18311
|
type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
|
|
@@ -18254,7 +18335,6 @@ type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint
|
|
|
18254
18335
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
18255
18336
|
type RTCIceComponent = "rtcp" | "rtp";
|
|
18256
18337
|
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
18257
|
-
type RTCIceCredentialType = "password";
|
|
18258
18338
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
18259
18339
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
18260
18340
|
type RTCIceProtocol = "tcp" | "udp";
|
|
@@ -18269,7 +18349,7 @@ type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
|
18269
18349
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
18270
18350
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
18271
18351
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
18272
|
-
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "
|
|
18352
|
+
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
18353
|
type ReadableStreamReaderMode = "byob";
|
|
18274
18354
|
type ReadableStreamType = "bytes";
|
|
18275
18355
|
type ReadyState = "closed" | "ended" | "open";
|
package/iterable.d.ts
CHANGED
|
@@ -253,8 +253,8 @@ interface WEBGL_draw_buffers {
|
|
|
253
253
|
interface WEBGL_multi_draw {
|
|
254
254
|
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
255
|
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<
|
|
256
|
+
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;
|
|
257
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
interface WebGL2RenderingContextBase {
|