@typescript-deploys/pr-build 4.9.0-pr-50856-4 → 4.9.0-pr-50776-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/de/diagnosticMessages.generated.json +1 -2
- package/lib/es/diagnosticMessages.generated.json +1 -2
- package/lib/ja/diagnosticMessages.generated.json +1 -2
- package/lib/ko/diagnosticMessages.generated.json +1 -2
- package/lib/lib.dom.d.ts +199 -58
- package/lib/lib.webworker.d.ts +73 -24
- package/lib/pt-br/diagnosticMessages.generated.json +1 -2
- package/lib/ru/diagnosticMessages.generated.json +1 -2
- package/lib/tr/diagnosticMessages.generated.json +1 -2
- package/lib/tsc.js +150 -90
- package/lib/tsserver.js +324 -149
- package/lib/tsserverlibrary.d.ts +3 -0
- package/lib/tsserverlibrary.js +324 -149
- package/lib/typescript.d.ts +3 -0
- package/lib/typescript.js +324 -149
- package/lib/typescriptServices.d.ts +3 -0
- package/lib/typescriptServices.js +324 -149
- package/lib/typingsInstaller.js +154 -95
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -2
- package/package.json +1 -1
package/lib/lib.dom.d.ts
CHANGED
|
@@ -136,15 +136,12 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
|
|
|
136
136
|
|
|
137
137
|
interface AuthenticationExtensionsClientInputs {
|
|
138
138
|
appid?: string;
|
|
139
|
-
appidExclude?: string;
|
|
140
139
|
credProps?: boolean;
|
|
141
|
-
uvm?: boolean;
|
|
142
140
|
}
|
|
143
141
|
|
|
144
142
|
interface AuthenticationExtensionsClientOutputs {
|
|
145
143
|
appid?: boolean;
|
|
146
144
|
credProps?: CredentialPropertiesOutput;
|
|
147
|
-
uvm?: UvmEntries;
|
|
148
145
|
}
|
|
149
146
|
|
|
150
147
|
interface AuthenticatorSelectionCriteria {
|
|
@@ -373,7 +370,7 @@ interface DeviceOrientationEventInit extends EventInit {
|
|
|
373
370
|
gamma?: number | null;
|
|
374
371
|
}
|
|
375
372
|
|
|
376
|
-
interface
|
|
373
|
+
interface DisplayMediaStreamOptions {
|
|
377
374
|
audio?: boolean | MediaTrackConstraints;
|
|
378
375
|
video?: boolean | MediaTrackConstraints;
|
|
379
376
|
}
|
|
@@ -806,10 +803,6 @@ interface MediaQueryListEventInit extends EventInit {
|
|
|
806
803
|
media?: string;
|
|
807
804
|
}
|
|
808
805
|
|
|
809
|
-
interface MediaRecorderErrorEventInit extends EventInit {
|
|
810
|
-
error: DOMException;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
806
|
interface MediaRecorderOptions {
|
|
814
807
|
audioBitsPerSecond?: number;
|
|
815
808
|
bitsPerSecond?: number;
|
|
@@ -819,9 +812,9 @@ interface MediaRecorderOptions {
|
|
|
819
812
|
|
|
820
813
|
interface MediaSessionActionDetails {
|
|
821
814
|
action: MediaSessionAction;
|
|
822
|
-
fastSeek?: boolean
|
|
823
|
-
seekOffset?: number
|
|
824
|
-
seekTime?: number
|
|
815
|
+
fastSeek?: boolean;
|
|
816
|
+
seekOffset?: number;
|
|
817
|
+
seekTime?: number;
|
|
825
818
|
}
|
|
826
819
|
|
|
827
820
|
interface MediaStreamAudioSourceOptions {
|
|
@@ -1121,6 +1114,10 @@ interface PermissionDescriptor {
|
|
|
1121
1114
|
name: PermissionName;
|
|
1122
1115
|
}
|
|
1123
1116
|
|
|
1117
|
+
interface PictureInPictureEventInit extends EventInit {
|
|
1118
|
+
pictureInPictureWindow: PictureInPictureWindow;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1124
1121
|
interface PointerEventInit extends MouseEventInit {
|
|
1125
1122
|
coalescedEvents?: PointerEvent[];
|
|
1126
1123
|
height?: number;
|
|
@@ -1314,6 +1311,8 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1314
1311
|
bytesReceived?: number;
|
|
1315
1312
|
bytesSent?: number;
|
|
1316
1313
|
currentRoundTripTime?: number;
|
|
1314
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1315
|
+
lastPacketSentTimestamp?: DOMHighResTimeStamp;
|
|
1317
1316
|
localCandidateId: string;
|
|
1318
1317
|
nominated?: boolean;
|
|
1319
1318
|
remoteCandidateId: string;
|
|
@@ -1328,18 +1327,45 @@ interface RTCIceCandidatePairStats extends RTCStats {
|
|
|
1328
1327
|
|
|
1329
1328
|
interface RTCIceServer {
|
|
1330
1329
|
credential?: string;
|
|
1331
|
-
credentialType?: RTCIceCredentialType;
|
|
1332
1330
|
urls: string | string[];
|
|
1333
1331
|
username?: string;
|
|
1334
1332
|
}
|
|
1335
1333
|
|
|
1336
1334
|
interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
1335
|
+
audioLevel?: number;
|
|
1336
|
+
bytesReceived?: number;
|
|
1337
|
+
concealedSamples?: number;
|
|
1338
|
+
concealmentEvents?: number;
|
|
1339
|
+
decoderImplementation?: string;
|
|
1340
|
+
estimatedPlayoutTimestamp?: DOMHighResTimeStamp;
|
|
1341
|
+
fecPacketsDiscarded?: number;
|
|
1342
|
+
fecPacketsReceived?: number;
|
|
1337
1343
|
firCount?: number;
|
|
1344
|
+
frameHeight?: number;
|
|
1345
|
+
frameWidth?: number;
|
|
1338
1346
|
framesDecoded?: number;
|
|
1347
|
+
framesPerSecond?: number;
|
|
1348
|
+
framesReceived?: number;
|
|
1349
|
+
headerBytesReceived?: number;
|
|
1350
|
+
insertedSamplesForDeceleration?: number;
|
|
1351
|
+
jitterBufferDelay?: number;
|
|
1352
|
+
jitterBufferEmittedCount?: number;
|
|
1353
|
+
keyFramesDecoded?: number;
|
|
1354
|
+
kind: string;
|
|
1355
|
+
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1339
1356
|
nackCount?: number;
|
|
1357
|
+
packetsDiscarded?: number;
|
|
1340
1358
|
pliCount?: number;
|
|
1341
1359
|
qpSum?: number;
|
|
1342
1360
|
remoteId?: string;
|
|
1361
|
+
removedSamplesForAcceleration?: number;
|
|
1362
|
+
silentConcealedSamples?: number;
|
|
1363
|
+
totalAudioEnergy?: number;
|
|
1364
|
+
totalDecodeTime?: number;
|
|
1365
|
+
totalInterFrameDelay?: number;
|
|
1366
|
+
totalSamplesDuration?: number;
|
|
1367
|
+
totalSamplesReceived?: number;
|
|
1368
|
+
totalSquaredInterFrameDelay?: number;
|
|
1343
1369
|
}
|
|
1344
1370
|
|
|
1345
1371
|
interface RTCLocalSessionDescriptionInit {
|
|
@@ -1358,11 +1384,27 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions {
|
|
|
1358
1384
|
|
|
1359
1385
|
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
1360
1386
|
firCount?: number;
|
|
1387
|
+
frameHeight?: number;
|
|
1388
|
+
frameWidth?: number;
|
|
1361
1389
|
framesEncoded?: number;
|
|
1390
|
+
framesPerSecond?: number;
|
|
1391
|
+
framesSent?: number;
|
|
1392
|
+
headerBytesSent?: number;
|
|
1393
|
+
hugeFramesSent?: number;
|
|
1394
|
+
keyFramesEncoded?: number;
|
|
1395
|
+
mediaSourceId?: string;
|
|
1362
1396
|
nackCount?: number;
|
|
1363
1397
|
pliCount?: number;
|
|
1364
1398
|
qpSum?: number;
|
|
1399
|
+
qualityLimitationResolutionChanges?: number;
|
|
1365
1400
|
remoteId?: string;
|
|
1401
|
+
retransmittedBytesSent?: number;
|
|
1402
|
+
retransmittedPacketsSent?: number;
|
|
1403
|
+
rid?: string;
|
|
1404
|
+
targetBitrate?: number;
|
|
1405
|
+
totalEncodeTime?: number;
|
|
1406
|
+
totalEncodedBytesTarget?: number;
|
|
1407
|
+
totalPacketSendDelay?: number;
|
|
1366
1408
|
}
|
|
1367
1409
|
|
|
1368
1410
|
interface RTCPeerConnectionIceErrorEventInit extends EventInit {
|
|
@@ -1379,8 +1421,8 @@ interface RTCPeerConnectionIceEventInit extends EventInit {
|
|
|
1379
1421
|
}
|
|
1380
1422
|
|
|
1381
1423
|
interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats {
|
|
1424
|
+
framesDropped?: number;
|
|
1382
1425
|
jitter?: number;
|
|
1383
|
-
packetsDiscarded?: number;
|
|
1384
1426
|
packetsLost?: number;
|
|
1385
1427
|
packetsReceived?: number;
|
|
1386
1428
|
}
|
|
@@ -1499,15 +1541,23 @@ interface RTCTransportStats extends RTCStats {
|
|
|
1499
1541
|
dtlsState: RTCDtlsTransportState;
|
|
1500
1542
|
localCertificateId?: string;
|
|
1501
1543
|
remoteCertificateId?: string;
|
|
1502
|
-
rtcpTransportStatsId?: string;
|
|
1503
1544
|
selectedCandidatePairId?: string;
|
|
1504
1545
|
srtpCipher?: string;
|
|
1505
1546
|
tlsVersion?: string;
|
|
1506
1547
|
}
|
|
1507
1548
|
|
|
1508
|
-
interface
|
|
1549
|
+
interface ReadableStreamGetReaderOptions {
|
|
1550
|
+
/**
|
|
1551
|
+
* Creates a ReadableStreamBYOBReader and locks the stream to the new reader.
|
|
1552
|
+
*
|
|
1553
|
+
* This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.
|
|
1554
|
+
*/
|
|
1555
|
+
mode?: ReadableStreamReaderMode;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
interface ReadableStreamReadDoneResult<T> {
|
|
1509
1559
|
done: true;
|
|
1510
|
-
value?:
|
|
1560
|
+
value?: T;
|
|
1511
1561
|
}
|
|
1512
1562
|
|
|
1513
1563
|
interface ReadableStreamReadValueResult<T> {
|
|
@@ -1791,6 +1841,21 @@ interface ULongRange {
|
|
|
1791
1841
|
min?: number;
|
|
1792
1842
|
}
|
|
1793
1843
|
|
|
1844
|
+
interface UnderlyingByteSource {
|
|
1845
|
+
autoAllocateChunkSize?: number;
|
|
1846
|
+
cancel?: UnderlyingSourceCancelCallback;
|
|
1847
|
+
pull?: (controller: ReadableByteStreamController) => void | PromiseLike<void>;
|
|
1848
|
+
start?: (controller: ReadableByteStreamController) => any;
|
|
1849
|
+
type: "bytes";
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
interface UnderlyingDefaultSource<R = any> {
|
|
1853
|
+
cancel?: UnderlyingSourceCancelCallback;
|
|
1854
|
+
pull?: (controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>;
|
|
1855
|
+
start?: (controller: ReadableStreamDefaultController<R>) => any;
|
|
1856
|
+
type?: undefined;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1794
1859
|
interface UnderlyingSink<W = any> {
|
|
1795
1860
|
abort?: UnderlyingSinkAbortCallback;
|
|
1796
1861
|
close?: UnderlyingSinkCloseCallback;
|
|
@@ -1800,10 +1865,11 @@ interface UnderlyingSink<W = any> {
|
|
|
1800
1865
|
}
|
|
1801
1866
|
|
|
1802
1867
|
interface UnderlyingSource<R = any> {
|
|
1868
|
+
autoAllocateChunkSize?: number;
|
|
1803
1869
|
cancel?: UnderlyingSourceCancelCallback;
|
|
1804
1870
|
pull?: UnderlyingSourcePullCallback<R>;
|
|
1805
1871
|
start?: UnderlyingSourceStartCallback<R>;
|
|
1806
|
-
type?:
|
|
1872
|
+
type?: ReadableStreamType;
|
|
1807
1873
|
}
|
|
1808
1874
|
|
|
1809
1875
|
interface ValidityStateFlags {
|
|
@@ -1931,12 +1997,14 @@ interface ARIAMixin {
|
|
|
1931
1997
|
ariaChecked: string | null;
|
|
1932
1998
|
ariaColCount: string | null;
|
|
1933
1999
|
ariaColIndex: string | null;
|
|
2000
|
+
ariaColIndexText: string | null;
|
|
1934
2001
|
ariaColSpan: string | null;
|
|
1935
2002
|
ariaCurrent: string | null;
|
|
1936
2003
|
ariaDisabled: string | null;
|
|
1937
2004
|
ariaExpanded: string | null;
|
|
1938
2005
|
ariaHasPopup: string | null;
|
|
1939
2006
|
ariaHidden: string | null;
|
|
2007
|
+
ariaInvalid: string | null;
|
|
1940
2008
|
ariaKeyShortcuts: string | null;
|
|
1941
2009
|
ariaLabel: string | null;
|
|
1942
2010
|
ariaLevel: string | null;
|
|
@@ -1953,6 +2021,7 @@ interface ARIAMixin {
|
|
|
1953
2021
|
ariaRoleDescription: string | null;
|
|
1954
2022
|
ariaRowCount: string | null;
|
|
1955
2023
|
ariaRowIndex: string | null;
|
|
2024
|
+
ariaRowIndexText: string | null;
|
|
1956
2025
|
ariaRowSpan: string | null;
|
|
1957
2026
|
ariaSelected: string | null;
|
|
1958
2027
|
ariaSetSize: string | null;
|
|
@@ -1961,6 +2030,7 @@ interface ARIAMixin {
|
|
|
1961
2030
|
ariaValueMin: string | null;
|
|
1962
2031
|
ariaValueNow: string | null;
|
|
1963
2032
|
ariaValueText: string | null;
|
|
2033
|
+
role: string | null;
|
|
1964
2034
|
}
|
|
1965
2035
|
|
|
1966
2036
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
@@ -1997,6 +2067,7 @@ declare var AbortSignal: {
|
|
|
1997
2067
|
prototype: AbortSignal;
|
|
1998
2068
|
new(): AbortSignal;
|
|
1999
2069
|
// abort(): AbortSignal; - To be re-added in the future
|
|
2070
|
+
timeout(milliseconds: number): AbortSignal;
|
|
2000
2071
|
};
|
|
2001
2072
|
|
|
2002
2073
|
interface AbstractRange {
|
|
@@ -2147,6 +2218,7 @@ interface Attr extends Node {
|
|
|
2147
2218
|
readonly ownerDocument: Document;
|
|
2148
2219
|
readonly ownerElement: Element | null;
|
|
2149
2220
|
readonly prefix: string | null;
|
|
2221
|
+
/** @deprecated */
|
|
2150
2222
|
readonly specified: boolean;
|
|
2151
2223
|
value: string;
|
|
2152
2224
|
}
|
|
@@ -2382,6 +2454,8 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2382
2454
|
/** Available only in secure contexts. */
|
|
2383
2455
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2384
2456
|
readonly attestationObject: ArrayBuffer;
|
|
2457
|
+
getAuthenticatorData(): ArrayBuffer;
|
|
2458
|
+
getTransports(): string[];
|
|
2385
2459
|
}
|
|
2386
2460
|
|
|
2387
2461
|
declare var AuthenticatorAttestationResponse: {
|
|
@@ -2608,6 +2682,18 @@ declare var CSSFontFaceRule: {
|
|
|
2608
2682
|
new(): CSSFontFaceRule;
|
|
2609
2683
|
};
|
|
2610
2684
|
|
|
2685
|
+
interface CSSFontPaletteValuesRule extends CSSRule {
|
|
2686
|
+
readonly basePalette: string;
|
|
2687
|
+
readonly fontFamily: string;
|
|
2688
|
+
readonly name: string;
|
|
2689
|
+
readonly overrideColors: string;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
declare var CSSFontPaletteValuesRule: {
|
|
2693
|
+
prototype: CSSFontPaletteValuesRule;
|
|
2694
|
+
new(): CSSFontPaletteValuesRule;
|
|
2695
|
+
};
|
|
2696
|
+
|
|
2611
2697
|
/** Any CSS at-rule that contains other rules nested within it. */
|
|
2612
2698
|
interface CSSGroupingRule extends CSSRule {
|
|
2613
2699
|
readonly cssRules: CSSRuleList;
|
|
@@ -2622,6 +2708,7 @@ declare var CSSGroupingRule: {
|
|
|
2622
2708
|
|
|
2623
2709
|
interface CSSImportRule extends CSSRule {
|
|
2624
2710
|
readonly href: string;
|
|
2711
|
+
readonly layerName: string | null;
|
|
2625
2712
|
readonly media: MediaList;
|
|
2626
2713
|
readonly styleSheet: CSSStyleSheet;
|
|
2627
2714
|
}
|
|
@@ -2656,6 +2743,24 @@ declare var CSSKeyframesRule: {
|
|
|
2656
2743
|
new(): CSSKeyframesRule;
|
|
2657
2744
|
};
|
|
2658
2745
|
|
|
2746
|
+
interface CSSLayerBlockRule extends CSSGroupingRule {
|
|
2747
|
+
readonly name: string;
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
declare var CSSLayerBlockRule: {
|
|
2751
|
+
prototype: CSSLayerBlockRule;
|
|
2752
|
+
new(): CSSLayerBlockRule;
|
|
2753
|
+
};
|
|
2754
|
+
|
|
2755
|
+
interface CSSLayerStatementRule extends CSSRule {
|
|
2756
|
+
readonly nameList: ReadonlyArray<string>;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
declare var CSSLayerStatementRule: {
|
|
2760
|
+
prototype: CSSLayerStatementRule;
|
|
2761
|
+
new(): CSSLayerStatementRule;
|
|
2762
|
+
};
|
|
2763
|
+
|
|
2659
2764
|
/** 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). */
|
|
2660
2765
|
interface CSSMediaRule extends CSSConditionRule {
|
|
2661
2766
|
readonly media: MediaList;
|
|
@@ -2753,6 +2858,7 @@ interface CSSStyleDeclaration {
|
|
|
2753
2858
|
animationTimingFunction: string;
|
|
2754
2859
|
appearance: string;
|
|
2755
2860
|
aspectRatio: string;
|
|
2861
|
+
backdropFilter: string;
|
|
2756
2862
|
backfaceVisibility: string;
|
|
2757
2863
|
background: string;
|
|
2758
2864
|
backgroundAttachment: string;
|
|
@@ -2887,6 +2993,7 @@ interface CSSStyleDeclaration {
|
|
|
2887
2993
|
fontFeatureSettings: string;
|
|
2888
2994
|
fontKerning: string;
|
|
2889
2995
|
fontOpticalSizing: string;
|
|
2996
|
+
fontPalette: string;
|
|
2890
2997
|
fontSize: string;
|
|
2891
2998
|
fontSizeAdjust: string;
|
|
2892
2999
|
fontStretch: string;
|
|
@@ -3518,6 +3625,7 @@ interface CanvasText {
|
|
|
3518
3625
|
interface CanvasTextDrawingStyles {
|
|
3519
3626
|
direction: CanvasDirection;
|
|
3520
3627
|
font: string;
|
|
3628
|
+
fontKerning: CanvasFontKerning;
|
|
3521
3629
|
textAlign: CanvasTextAlign;
|
|
3522
3630
|
textBaseline: CanvasTextBaseline;
|
|
3523
3631
|
}
|
|
@@ -4379,7 +4487,10 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4379
4487
|
readonly documentElement: HTMLElement;
|
|
4380
4488
|
/** Returns document's URL. */
|
|
4381
4489
|
readonly documentURI: string;
|
|
4382
|
-
/**
|
|
4490
|
+
/**
|
|
4491
|
+
* Sets or gets the security domain of the document.
|
|
4492
|
+
* @deprecated
|
|
4493
|
+
*/
|
|
4383
4494
|
domain: string;
|
|
4384
4495
|
/** Retrieves a collection of all embed objects in the document. */
|
|
4385
4496
|
readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;
|
|
@@ -4533,7 +4644,6 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4533
4644
|
createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;
|
|
4534
4645
|
createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;
|
|
4535
4646
|
createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;
|
|
4536
|
-
createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent;
|
|
4537
4647
|
createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent;
|
|
4538
4648
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
4539
4649
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
@@ -4544,6 +4654,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4544
4654
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
4545
4655
|
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
4546
4656
|
createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
|
|
4657
|
+
createEvent(eventInterface: "PictureInPictureEvent"): PictureInPictureEvent;
|
|
4547
4658
|
createEvent(eventInterface: "PointerEvent"): PointerEvent;
|
|
4548
4659
|
createEvent(eventInterface: "PopStateEvent"): PopStateEvent;
|
|
4549
4660
|
createEvent(eventInterface: "ProgressEvent"): ProgressEvent;
|
|
@@ -4662,6 +4773,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4662
4773
|
/**
|
|
4663
4774
|
* Returns a Boolean value that indicates whether the specified command is in the indeterminate state.
|
|
4664
4775
|
* @param commandId String that specifies a command identifier.
|
|
4776
|
+
* @deprecated
|
|
4665
4777
|
*/
|
|
4666
4778
|
queryCommandIndeterm(commandId: string): boolean;
|
|
4667
4779
|
/**
|
|
@@ -4679,6 +4791,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4679
4791
|
/**
|
|
4680
4792
|
* Returns the current value of the document, range, or current selection for the given command.
|
|
4681
4793
|
* @param commandId String that specifies a command identifier.
|
|
4794
|
+
* @deprecated
|
|
4682
4795
|
*/
|
|
4683
4796
|
queryCommandValue(commandId: string): string;
|
|
4684
4797
|
/** @deprecated */
|
|
@@ -4837,6 +4950,13 @@ interface EXT_sRGB {
|
|
|
4837
4950
|
interface EXT_shader_texture_lod {
|
|
4838
4951
|
}
|
|
4839
4952
|
|
|
4953
|
+
interface EXT_texture_compression_bptc {
|
|
4954
|
+
readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: GLenum;
|
|
4955
|
+
readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: GLenum;
|
|
4956
|
+
readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: GLenum;
|
|
4957
|
+
readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: GLenum;
|
|
4958
|
+
}
|
|
4959
|
+
|
|
4840
4960
|
interface EXT_texture_compression_rgtc {
|
|
4841
4961
|
readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;
|
|
4842
4962
|
readonly COMPRESSED_RED_RGTC1_EXT: GLenum;
|
|
@@ -5032,6 +5152,7 @@ declare var ErrorEvent: {
|
|
|
5032
5152
|
interface Event {
|
|
5033
5153
|
/** 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. */
|
|
5034
5154
|
readonly bubbles: boolean;
|
|
5155
|
+
/** @deprecated */
|
|
5035
5156
|
cancelBubble: boolean;
|
|
5036
5157
|
/** 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. */
|
|
5037
5158
|
readonly cancelable: boolean;
|
|
@@ -5568,6 +5689,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5568
5689
|
"auxclick": MouseEvent;
|
|
5569
5690
|
"beforeinput": InputEvent;
|
|
5570
5691
|
"blur": FocusEvent;
|
|
5692
|
+
"cancel": Event;
|
|
5571
5693
|
"canplay": Event;
|
|
5572
5694
|
"canplaythrough": Event;
|
|
5573
5695
|
"change": Event;
|
|
@@ -5668,11 +5790,13 @@ interface GlobalEventHandlers {
|
|
|
5668
5790
|
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5669
5791
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
5670
5792
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
5793
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
5671
5794
|
/**
|
|
5672
5795
|
* Fires when the object loses the input focus.
|
|
5673
5796
|
* @param ev The focus event.
|
|
5674
5797
|
*/
|
|
5675
5798
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
5799
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5676
5800
|
/**
|
|
5677
5801
|
* Occurs when playback is possible, but would require further buffering.
|
|
5678
5802
|
* @param ev The event.
|
|
@@ -8769,13 +8893,13 @@ declare var IDBObjectStore: {
|
|
|
8769
8893
|
};
|
|
8770
8894
|
|
|
8771
8895
|
interface IDBOpenDBRequestEventMap extends IDBRequestEventMap {
|
|
8772
|
-
"blocked":
|
|
8896
|
+
"blocked": IDBVersionChangeEvent;
|
|
8773
8897
|
"upgradeneeded": IDBVersionChangeEvent;
|
|
8774
8898
|
}
|
|
8775
8899
|
|
|
8776
8900
|
/** Also inherits methods from its parents IDBRequest and EventTarget. */
|
|
8777
8901
|
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
|
|
8778
|
-
onblocked: ((this: IDBOpenDBRequest, ev:
|
|
8902
|
+
onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8779
8903
|
onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
|
|
8780
8904
|
addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
8781
8905
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9184,7 +9308,7 @@ interface MediaDevicesEventMap {
|
|
|
9184
9308
|
interface MediaDevices extends EventTarget {
|
|
9185
9309
|
ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;
|
|
9186
9310
|
enumerateDevices(): Promise<MediaDeviceInfo[]>;
|
|
9187
|
-
getDisplayMedia(
|
|
9311
|
+
getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;
|
|
9188
9312
|
getSupportedConstraints(): MediaTrackSupportedConstraints;
|
|
9189
9313
|
getUserMedia(constraints?: MediaStreamConstraints): Promise<MediaStream>;
|
|
9190
9314
|
addEventListener<K extends keyof MediaDevicesEventMap>(type: K, listener: (this: MediaDevices, ev: MediaDevicesEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9391,7 +9515,7 @@ declare var MediaQueryListEvent: {
|
|
|
9391
9515
|
|
|
9392
9516
|
interface MediaRecorderEventMap {
|
|
9393
9517
|
"dataavailable": BlobEvent;
|
|
9394
|
-
"error":
|
|
9518
|
+
"error": Event;
|
|
9395
9519
|
"pause": Event;
|
|
9396
9520
|
"resume": Event;
|
|
9397
9521
|
"start": Event;
|
|
@@ -9402,7 +9526,7 @@ interface MediaRecorder extends EventTarget {
|
|
|
9402
9526
|
readonly audioBitsPerSecond: number;
|
|
9403
9527
|
readonly mimeType: string;
|
|
9404
9528
|
ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;
|
|
9405
|
-
onerror: ((this: MediaRecorder, ev:
|
|
9529
|
+
onerror: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9406
9530
|
onpause: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9407
9531
|
onresume: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
9408
9532
|
onstart: ((this: MediaRecorder, ev: Event) => any) | null;
|
|
@@ -9427,15 +9551,6 @@ declare var MediaRecorder: {
|
|
|
9427
9551
|
isTypeSupported(type: string): boolean;
|
|
9428
9552
|
};
|
|
9429
9553
|
|
|
9430
|
-
interface MediaRecorderErrorEvent extends Event {
|
|
9431
|
-
readonly error: DOMException;
|
|
9432
|
-
}
|
|
9433
|
-
|
|
9434
|
-
declare var MediaRecorderErrorEvent: {
|
|
9435
|
-
prototype: MediaRecorderErrorEvent;
|
|
9436
|
-
new(type: string, eventInitDict: MediaRecorderErrorEventInit): MediaRecorderErrorEvent;
|
|
9437
|
-
};
|
|
9438
|
-
|
|
9439
9554
|
interface MediaSession {
|
|
9440
9555
|
metadata: MediaMetadata | null;
|
|
9441
9556
|
playbackState: MediaSessionPlaybackState;
|
|
@@ -9888,12 +10003,14 @@ interface NavigatorID {
|
|
|
9888
10003
|
readonly appName: string;
|
|
9889
10004
|
/** @deprecated */
|
|
9890
10005
|
readonly appVersion: string;
|
|
10006
|
+
/** @deprecated */
|
|
9891
10007
|
readonly platform: string;
|
|
9892
10008
|
/** @deprecated */
|
|
9893
10009
|
readonly product: string;
|
|
9894
10010
|
/** @deprecated */
|
|
9895
10011
|
readonly productSub: string;
|
|
9896
10012
|
readonly userAgent: string;
|
|
10013
|
+
/** @deprecated */
|
|
9897
10014
|
readonly vendor: string;
|
|
9898
10015
|
/** @deprecated */
|
|
9899
10016
|
readonly vendorSub: string;
|
|
@@ -10680,6 +10797,7 @@ interface PermissionStatusEventMap {
|
|
|
10680
10797
|
}
|
|
10681
10798
|
|
|
10682
10799
|
interface PermissionStatus extends EventTarget {
|
|
10800
|
+
readonly name: string;
|
|
10683
10801
|
onchange: ((this: PermissionStatus, ev: Event) => any) | null;
|
|
10684
10802
|
readonly state: PermissionState;
|
|
10685
10803
|
addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10702,6 +10820,15 @@ declare var Permissions: {
|
|
|
10702
10820
|
new(): Permissions;
|
|
10703
10821
|
};
|
|
10704
10822
|
|
|
10823
|
+
interface PictureInPictureEvent extends Event {
|
|
10824
|
+
readonly pictureInPictureWindow: PictureInPictureWindow;
|
|
10825
|
+
}
|
|
10826
|
+
|
|
10827
|
+
declare var PictureInPictureEvent: {
|
|
10828
|
+
prototype: PictureInPictureEvent;
|
|
10829
|
+
new(type: string, eventInitDict: PictureInPictureEventInit): PictureInPictureEvent;
|
|
10830
|
+
};
|
|
10831
|
+
|
|
10705
10832
|
interface PictureInPictureWindowEventMap {
|
|
10706
10833
|
"resize": Event;
|
|
10707
10834
|
}
|
|
@@ -10853,6 +10980,7 @@ declare var PromiseRejectionEvent: {
|
|
|
10853
10980
|
|
|
10854
10981
|
/** Available only in secure contexts. */
|
|
10855
10982
|
interface PublicKeyCredential extends Credential {
|
|
10983
|
+
readonly authenticatorAttachment: string | null;
|
|
10856
10984
|
readonly rawId: ArrayBuffer;
|
|
10857
10985
|
readonly response: AuthenticatorResponse;
|
|
10858
10986
|
getClientExtensionResults(): AuthenticationExtensionsClientOutputs;
|
|
@@ -10901,6 +11029,7 @@ declare var PushSubscription: {
|
|
|
10901
11029
|
/** Available only in secure contexts. */
|
|
10902
11030
|
interface PushSubscriptionOptions {
|
|
10903
11031
|
readonly applicationServerKey: ArrayBuffer | null;
|
|
11032
|
+
readonly userVisibleOnly: boolean;
|
|
10904
11033
|
}
|
|
10905
11034
|
|
|
10906
11035
|
declare var PushSubscriptionOptions: {
|
|
@@ -11385,7 +11514,9 @@ declare var ReadableByteStreamController: {
|
|
|
11385
11514
|
interface ReadableStream<R = any> {
|
|
11386
11515
|
readonly locked: boolean;
|
|
11387
11516
|
cancel(reason?: any): Promise<void>;
|
|
11517
|
+
getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
|
|
11388
11518
|
getReader(): ReadableStreamDefaultReader<R>;
|
|
11519
|
+
getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;
|
|
11389
11520
|
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
|
|
11390
11521
|
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
11391
11522
|
tee(): [ReadableStream<R>, ReadableStream<R>];
|
|
@@ -11393,11 +11524,13 @@ interface ReadableStream<R = any> {
|
|
|
11393
11524
|
|
|
11394
11525
|
declare var ReadableStream: {
|
|
11395
11526
|
prototype: ReadableStream;
|
|
11527
|
+
new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;
|
|
11528
|
+
new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
11396
11529
|
new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
11397
11530
|
};
|
|
11398
11531
|
|
|
11399
11532
|
interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
|
|
11400
|
-
read(view:
|
|
11533
|
+
read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;
|
|
11401
11534
|
releaseLock(): void;
|
|
11402
11535
|
}
|
|
11403
11536
|
|
|
@@ -13018,6 +13151,7 @@ interface SVGStyleElement extends SVGElement, LinkStyle {
|
|
|
13018
13151
|
disabled: boolean;
|
|
13019
13152
|
media: string;
|
|
13020
13153
|
title: string;
|
|
13154
|
+
/** @deprecated */
|
|
13021
13155
|
type: string;
|
|
13022
13156
|
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGStyleElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13023
13157
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13380,6 +13514,7 @@ interface Selection {
|
|
|
13380
13514
|
empty(): void;
|
|
13381
13515
|
extend(node: Node, offset?: number): void;
|
|
13382
13516
|
getRangeAt(index: number): Range;
|
|
13517
|
+
modify(alter?: string, direction?: string, granularity?: string): void;
|
|
13383
13518
|
removeAllRanges(): void;
|
|
13384
13519
|
removeRange(range: Range): void;
|
|
13385
13520
|
selectAllChildren(node: Node): void;
|
|
@@ -13778,6 +13913,7 @@ interface StorageEvent extends Event {
|
|
|
13778
13913
|
readonly storageArea: Storage | null;
|
|
13779
13914
|
/** Returns the URL of the document whose storage item changed. */
|
|
13780
13915
|
readonly url: string;
|
|
13916
|
+
/** @deprecated */
|
|
13781
13917
|
initStorageEvent(type: string, bubbles?: boolean, cancelable?: boolean, key?: string | null, oldValue?: string | null, newValue?: string | null, url?: string | URL, storageArea?: Storage | null): void;
|
|
13782
13918
|
}
|
|
13783
13919
|
|
|
@@ -14560,8 +14696,8 @@ interface WEBGL_lose_context {
|
|
|
14560
14696
|
interface WEBGL_multi_draw {
|
|
14561
14697
|
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14562
14698
|
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
14563
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array |
|
|
14564
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array |
|
|
14699
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14700
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14565
14701
|
}
|
|
14566
14702
|
|
|
14567
14703
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
@@ -15971,35 +16107,39 @@ interface WebGLRenderingContextBase {
|
|
|
15971
16107
|
getBufferParameter(target: GLenum, pname: GLenum): any;
|
|
15972
16108
|
getContextAttributes(): WebGLContextAttributes | null;
|
|
15973
16109
|
getError(): GLenum;
|
|
16110
|
+
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
15974
16111
|
getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
|
|
15975
16112
|
getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
|
|
15976
16113
|
getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;
|
|
15977
16114
|
getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;
|
|
15978
|
-
getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
|
|
15979
16115
|
getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;
|
|
15980
|
-
getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
|
|
15981
16116
|
getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;
|
|
16117
|
+
getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
|
|
16118
|
+
getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null;
|
|
16119
|
+
getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null;
|
|
16120
|
+
getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
|
|
15982
16121
|
getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;
|
|
16122
|
+
getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
|
|
16123
|
+
getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null;
|
|
16124
|
+
getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
|
|
16125
|
+
getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
|
|
16126
|
+
getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
|
|
16127
|
+
getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
|
|
16128
|
+
getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
|
|
15983
16129
|
getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;
|
|
15984
16130
|
getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;
|
|
15985
16131
|
getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;
|
|
15986
16132
|
getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
|
|
15987
16133
|
getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
|
|
15988
16134
|
getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
|
|
16135
|
+
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
15989
16136
|
getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
|
|
16137
|
+
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
|
|
15990
16138
|
getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
|
|
16139
|
+
getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
|
|
15991
16140
|
getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
|
|
15992
16141
|
getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
|
|
15993
|
-
getExtension(extensionName: "
|
|
15994
|
-
getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
|
|
15995
|
-
getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
|
|
15996
|
-
getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
|
|
15997
|
-
getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
|
|
15998
|
-
getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
|
|
15999
|
-
getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
|
|
16000
|
-
getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
|
|
16001
|
-
getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
|
|
16002
|
-
getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
|
|
16142
|
+
getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
|
|
16003
16143
|
getExtension(name: string): any;
|
|
16004
16144
|
getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
|
|
16005
16145
|
getParameter(pname: GLenum): any;
|
|
@@ -17744,11 +17884,13 @@ declare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
|
17744
17884
|
declare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17745
17885
|
declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;
|
|
17746
17886
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
17887
|
+
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
17747
17888
|
/**
|
|
17748
17889
|
* Fires when the object loses the input focus.
|
|
17749
17890
|
* @param ev The focus event.
|
|
17750
17891
|
*/
|
|
17751
17892
|
declare var onblur: ((this: Window, ev: FocusEvent) => any) | null;
|
|
17893
|
+
declare var oncancel: ((this: Window, ev: Event) => any) | null;
|
|
17752
17894
|
/**
|
|
17753
17895
|
* Occurs when playback is possible, but would require further buffering.
|
|
17754
17896
|
* @param ev The event.
|
|
@@ -18100,17 +18242,15 @@ type NamedCurve = string;
|
|
|
18100
18242
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
18101
18243
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
18102
18244
|
type PerformanceEntryList = PerformanceEntry[];
|
|
18103
|
-
type ReadableStreamController<T> = ReadableStreamDefaultController<T
|
|
18104
|
-
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult
|
|
18105
|
-
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T
|
|
18245
|
+
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
18246
|
+
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
18247
|
+
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
18106
18248
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
18107
18249
|
type RequestInfo = Request | string;
|
|
18108
18250
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement;
|
|
18109
18251
|
type TimerHandler = string | Function;
|
|
18110
|
-
type Transferable =
|
|
18252
|
+
type Transferable = ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
18111
18253
|
type Uint32List = Uint32Array | GLuint[];
|
|
18112
|
-
type UvmEntries = UvmEntry[];
|
|
18113
|
-
type UvmEntry = number[];
|
|
18114
18254
|
type VibratePattern = number | number[];
|
|
18115
18255
|
type WindowProxy = Window;
|
|
18116
18256
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
@@ -18122,7 +18262,7 @@ type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "n
|
|
|
18122
18262
|
type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
|
|
18123
18263
|
type AudioContextState = "closed" | "running" | "suspended";
|
|
18124
18264
|
type AuthenticatorAttachment = "cross-platform" | "platform";
|
|
18125
|
-
type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb";
|
|
18265
|
+
type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
|
|
18126
18266
|
type AutoKeyword = "auto";
|
|
18127
18267
|
type AutomationRate = "a-rate" | "k-rate";
|
|
18128
18268
|
type BinaryType = "arraybuffer" | "blob";
|
|
@@ -18183,7 +18323,7 @@ type MediaKeySessionClosedReason = "closed-by-application" | "hardware-context-r
|
|
|
18183
18323
|
type MediaKeySessionType = "persistent-license" | "temporary";
|
|
18184
18324
|
type MediaKeyStatus = "expired" | "internal-error" | "output-downscaled" | "output-restricted" | "released" | "status-pending" | "usable" | "usable-in-future";
|
|
18185
18325
|
type MediaKeysRequirement = "not-allowed" | "optional" | "required";
|
|
18186
|
-
type MediaSessionAction = "
|
|
18326
|
+
type MediaSessionAction = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";
|
|
18187
18327
|
type MediaSessionPlaybackState = "none" | "paused" | "playing";
|
|
18188
18328
|
type MediaStreamTrackState = "ended" | "live";
|
|
18189
18329
|
type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";
|
|
@@ -18213,7 +18353,6 @@ type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint
|
|
|
18213
18353
|
type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
|
|
18214
18354
|
type RTCIceComponent = "rtcp" | "rtp";
|
|
18215
18355
|
type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
18216
|
-
type RTCIceCredentialType = "password";
|
|
18217
18356
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
18218
18357
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
18219
18358
|
type RTCIceProtocol = "tcp" | "udp";
|
|
@@ -18228,7 +18367,9 @@ type RTCSctpTransportState = "closed" | "connected" | "connecting";
|
|
|
18228
18367
|
type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
|
|
18229
18368
|
type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
|
|
18230
18369
|
type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
|
|
18231
|
-
type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "
|
|
18370
|
+
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";
|
|
18371
|
+
type ReadableStreamReaderMode = "byob";
|
|
18372
|
+
type ReadableStreamType = "bytes";
|
|
18232
18373
|
type ReadyState = "closed" | "ended" | "open";
|
|
18233
18374
|
type RecordingState = "inactive" | "paused" | "recording";
|
|
18234
18375
|
type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|