@typescript-deploys/pr-build 4.6.0-pr-47400-2 → 4.6.0-pr-47552-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/lib.dom.d.ts +144 -58
- package/lib/lib.dom.iterable.d.ts +7 -0
- package/lib/lib.es2015.iterable.d.ts +2 -1
- package/lib/lib.es2020.intl.d.ts +4 -0
- package/lib/lib.es5.d.ts +0 -2
- package/lib/lib.webworker.d.ts +80 -17
- package/lib/lib.webworker.iterable.d.ts +7 -0
- package/lib/protocol.d.ts +1 -0
- package/lib/tsc.js +318 -126
- package/lib/tsserver.js +682 -264
- package/lib/tsserverlibrary.d.ts +12 -6
- package/lib/tsserverlibrary.js +682 -264
- package/lib/typescript.d.ts +11 -6
- package/lib/typescript.js +668 -262
- package/lib/typescriptServices.d.ts +11 -6
- package/lib/typescriptServices.js +668 -262
- package/lib/typingsInstaller.js +379 -145
- package/package.json +2 -2
package/lib/lib.dom.d.ts
CHANGED
|
@@ -227,7 +227,7 @@ interface ComputedEffectTiming extends EffectTiming {
|
|
|
227
227
|
currentIteration?: number | null;
|
|
228
228
|
endTime?: CSSNumberish;
|
|
229
229
|
localTime?: CSSNumberish | null;
|
|
230
|
-
progress?:
|
|
230
|
+
progress?: number | null;
|
|
231
231
|
startTime?: CSSNumberish;
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -284,8 +284,8 @@ interface CredentialRequestOptions {
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
interface CryptoKeyPair {
|
|
287
|
-
privateKey
|
|
288
|
-
publicKey
|
|
287
|
+
privateKey: CryptoKey;
|
|
288
|
+
publicKey: CryptoKey;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
interface CustomEventInit<T = any> extends EventInit {
|
|
@@ -487,6 +487,18 @@ interface FileSystemFlags {
|
|
|
487
487
|
exclusive?: boolean;
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
+
interface FileSystemGetDirectoryOptions {
|
|
491
|
+
create?: boolean;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
interface FileSystemGetFileOptions {
|
|
495
|
+
create?: boolean;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
interface FileSystemRemoveOptions {
|
|
499
|
+
recursive?: boolean;
|
|
500
|
+
}
|
|
501
|
+
|
|
490
502
|
interface FocusEventInit extends UIEventInit {
|
|
491
503
|
relatedTarget?: EventTarget | null;
|
|
492
504
|
}
|
|
@@ -940,7 +952,7 @@ interface NotificationOptions {
|
|
|
940
952
|
requireInteraction?: boolean;
|
|
941
953
|
silent?: boolean;
|
|
942
954
|
tag?: string;
|
|
943
|
-
timestamp?:
|
|
955
|
+
timestamp?: EpochTimeStamp;
|
|
944
956
|
vibrate?: VibratePattern;
|
|
945
957
|
}
|
|
946
958
|
|
|
@@ -1172,7 +1184,7 @@ interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {
|
|
|
1172
1184
|
|
|
1173
1185
|
interface PushSubscriptionJSON {
|
|
1174
1186
|
endpoint?: string;
|
|
1175
|
-
expirationTime?:
|
|
1187
|
+
expirationTime?: EpochTimeStamp | null;
|
|
1176
1188
|
keys?: Record<string, string>;
|
|
1177
1189
|
}
|
|
1178
1190
|
|
|
@@ -1199,7 +1211,7 @@ interface RTCAnswerOptions extends RTCOfferAnswerOptions {
|
|
|
1199
1211
|
}
|
|
1200
1212
|
|
|
1201
1213
|
interface RTCCertificateExpiration {
|
|
1202
|
-
expires?:
|
|
1214
|
+
expires?: number;
|
|
1203
1215
|
}
|
|
1204
1216
|
|
|
1205
1217
|
interface RTCConfiguration {
|
|
@@ -1648,7 +1660,7 @@ interface StreamPipeOptions {
|
|
|
1648
1660
|
}
|
|
1649
1661
|
|
|
1650
1662
|
interface StructuredSerializeOptions {
|
|
1651
|
-
transfer?:
|
|
1663
|
+
transfer?: Transferable[];
|
|
1652
1664
|
}
|
|
1653
1665
|
|
|
1654
1666
|
interface SubmitEventInit extends EventInit {
|
|
@@ -1824,42 +1836,42 @@ interface ANGLE_instanced_arrays {
|
|
|
1824
1836
|
}
|
|
1825
1837
|
|
|
1826
1838
|
interface ARIAMixin {
|
|
1827
|
-
ariaAtomic: string;
|
|
1828
|
-
ariaAutoComplete: string;
|
|
1829
|
-
ariaBusy: string;
|
|
1830
|
-
ariaChecked: string;
|
|
1831
|
-
ariaColCount: string;
|
|
1832
|
-
ariaColIndex: string;
|
|
1833
|
-
ariaColSpan: string;
|
|
1834
|
-
ariaCurrent: string;
|
|
1835
|
-
ariaDisabled: string;
|
|
1836
|
-
ariaExpanded: string;
|
|
1837
|
-
ariaHasPopup: string;
|
|
1838
|
-
ariaHidden: string;
|
|
1839
|
-
ariaKeyShortcuts: string;
|
|
1840
|
-
ariaLabel: string;
|
|
1841
|
-
ariaLevel: string;
|
|
1842
|
-
ariaLive: string;
|
|
1843
|
-
ariaModal: string;
|
|
1844
|
-
ariaMultiLine: string;
|
|
1845
|
-
ariaMultiSelectable: string;
|
|
1846
|
-
ariaOrientation: string;
|
|
1847
|
-
ariaPlaceholder: string;
|
|
1848
|
-
ariaPosInSet: string;
|
|
1849
|
-
ariaPressed: string;
|
|
1850
|
-
ariaReadOnly: string;
|
|
1851
|
-
ariaRequired: string;
|
|
1852
|
-
ariaRoleDescription: string;
|
|
1853
|
-
ariaRowCount: string;
|
|
1854
|
-
ariaRowIndex: string;
|
|
1855
|
-
ariaRowSpan: string;
|
|
1856
|
-
ariaSelected: string;
|
|
1857
|
-
ariaSetSize: string;
|
|
1858
|
-
ariaSort: string;
|
|
1859
|
-
ariaValueMax: string;
|
|
1860
|
-
ariaValueMin: string;
|
|
1861
|
-
ariaValueNow: string;
|
|
1862
|
-
ariaValueText: string;
|
|
1839
|
+
ariaAtomic: string | null;
|
|
1840
|
+
ariaAutoComplete: string | null;
|
|
1841
|
+
ariaBusy: string | null;
|
|
1842
|
+
ariaChecked: string | null;
|
|
1843
|
+
ariaColCount: string | null;
|
|
1844
|
+
ariaColIndex: string | null;
|
|
1845
|
+
ariaColSpan: string | null;
|
|
1846
|
+
ariaCurrent: string | null;
|
|
1847
|
+
ariaDisabled: string | null;
|
|
1848
|
+
ariaExpanded: string | null;
|
|
1849
|
+
ariaHasPopup: string | null;
|
|
1850
|
+
ariaHidden: string | null;
|
|
1851
|
+
ariaKeyShortcuts: string | null;
|
|
1852
|
+
ariaLabel: string | null;
|
|
1853
|
+
ariaLevel: string | null;
|
|
1854
|
+
ariaLive: string | null;
|
|
1855
|
+
ariaModal: string | null;
|
|
1856
|
+
ariaMultiLine: string | null;
|
|
1857
|
+
ariaMultiSelectable: string | null;
|
|
1858
|
+
ariaOrientation: string | null;
|
|
1859
|
+
ariaPlaceholder: string | null;
|
|
1860
|
+
ariaPosInSet: string | null;
|
|
1861
|
+
ariaPressed: string | null;
|
|
1862
|
+
ariaReadOnly: string | null;
|
|
1863
|
+
ariaRequired: string | null;
|
|
1864
|
+
ariaRoleDescription: string | null;
|
|
1865
|
+
ariaRowCount: string | null;
|
|
1866
|
+
ariaRowIndex: string | null;
|
|
1867
|
+
ariaRowSpan: string | null;
|
|
1868
|
+
ariaSelected: string | null;
|
|
1869
|
+
ariaSetSize: string | null;
|
|
1870
|
+
ariaSort: string | null;
|
|
1871
|
+
ariaValueMax: string | null;
|
|
1872
|
+
ariaValueMin: string | null;
|
|
1873
|
+
ariaValueNow: string | null;
|
|
1874
|
+
ariaValueText: string | null;
|
|
1863
1875
|
}
|
|
1864
1876
|
|
|
1865
1877
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
@@ -1867,7 +1879,7 @@ interface AbortController {
|
|
|
1867
1879
|
/** Returns the AbortSignal object associated with this object. */
|
|
1868
1880
|
readonly signal: AbortSignal;
|
|
1869
1881
|
/** Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. */
|
|
1870
|
-
abort(): void;
|
|
1882
|
+
abort(reason?: any): void;
|
|
1871
1883
|
}
|
|
1872
1884
|
|
|
1873
1885
|
declare var AbortController: {
|
|
@@ -3253,7 +3265,7 @@ declare var CacheStorage: {
|
|
|
3253
3265
|
|
|
3254
3266
|
interface CanvasCompositing {
|
|
3255
3267
|
globalAlpha: number;
|
|
3256
|
-
globalCompositeOperation:
|
|
3268
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
3257
3269
|
}
|
|
3258
3270
|
|
|
3259
3271
|
interface CanvasDrawImage {
|
|
@@ -3279,6 +3291,7 @@ interface CanvasDrawPath {
|
|
|
3279
3291
|
interface CanvasFillStrokeStyles {
|
|
3280
3292
|
fillStyle: string | CanvasGradient | CanvasPattern;
|
|
3281
3293
|
strokeStyle: string | CanvasGradient | CanvasPattern;
|
|
3294
|
+
createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;
|
|
3282
3295
|
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
|
|
3283
3296
|
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
|
|
3284
3297
|
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
|
|
@@ -3602,6 +3615,8 @@ interface Crypto {
|
|
|
3602
3615
|
/** Available only in secure contexts. */
|
|
3603
3616
|
readonly subtle: SubtleCrypto;
|
|
3604
3617
|
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
|
|
3618
|
+
/** Available only in secure contexts. */
|
|
3619
|
+
randomUUID(): string;
|
|
3605
3620
|
}
|
|
3606
3621
|
|
|
3607
3622
|
declare var Crypto: {
|
|
@@ -4308,7 +4323,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4308
4323
|
readonly timeline: DocumentTimeline;
|
|
4309
4324
|
/** Contains the title of the document. */
|
|
4310
4325
|
title: string;
|
|
4311
|
-
readonly visibilityState:
|
|
4326
|
+
readonly visibilityState: DocumentVisibilityState;
|
|
4312
4327
|
/**
|
|
4313
4328
|
* Sets or gets the color of the links that the user has visited.
|
|
4314
4329
|
* @deprecated
|
|
@@ -4948,8 +4963,10 @@ interface EventSource extends EventTarget {
|
|
|
4948
4963
|
readonly CONNECTING: number;
|
|
4949
4964
|
readonly OPEN: number;
|
|
4950
4965
|
addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4966
|
+
addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | AddEventListenerOptions): void;
|
|
4951
4967
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4952
4968
|
removeEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
4969
|
+
removeEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => any, options?: boolean | EventListenerOptions): void;
|
|
4953
4970
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
4954
4971
|
}
|
|
4955
4972
|
|
|
@@ -5091,6 +5108,19 @@ declare var FileSystemDirectoryEntry: {
|
|
|
5091
5108
|
new(): FileSystemDirectoryEntry;
|
|
5092
5109
|
};
|
|
5093
5110
|
|
|
5111
|
+
/** Available only in secure contexts. */
|
|
5112
|
+
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
5113
|
+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
5114
|
+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
5115
|
+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
5116
|
+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
|
|
5117
|
+
}
|
|
5118
|
+
|
|
5119
|
+
declare var FileSystemDirectoryHandle: {
|
|
5120
|
+
prototype: FileSystemDirectoryHandle;
|
|
5121
|
+
new(): FileSystemDirectoryHandle;
|
|
5122
|
+
};
|
|
5123
|
+
|
|
5094
5124
|
interface FileSystemDirectoryReader {
|
|
5095
5125
|
readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;
|
|
5096
5126
|
}
|
|
@@ -5123,6 +5153,28 @@ declare var FileSystemFileEntry: {
|
|
|
5123
5153
|
new(): FileSystemFileEntry;
|
|
5124
5154
|
};
|
|
5125
5155
|
|
|
5156
|
+
/** Available only in secure contexts. */
|
|
5157
|
+
interface FileSystemFileHandle extends FileSystemHandle {
|
|
5158
|
+
getFile(): Promise<File>;
|
|
5159
|
+
}
|
|
5160
|
+
|
|
5161
|
+
declare var FileSystemFileHandle: {
|
|
5162
|
+
prototype: FileSystemFileHandle;
|
|
5163
|
+
new(): FileSystemFileHandle;
|
|
5164
|
+
};
|
|
5165
|
+
|
|
5166
|
+
/** Available only in secure contexts. */
|
|
5167
|
+
interface FileSystemHandle {
|
|
5168
|
+
readonly kind: FileSystemHandleKind;
|
|
5169
|
+
readonly name: string;
|
|
5170
|
+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
|
|
5171
|
+
}
|
|
5172
|
+
|
|
5173
|
+
declare var FileSystemHandle: {
|
|
5174
|
+
prototype: FileSystemHandle;
|
|
5175
|
+
new(): FileSystemHandle;
|
|
5176
|
+
};
|
|
5177
|
+
|
|
5126
5178
|
/** Focus-related events like focus, blur, focusin, or focusout. */
|
|
5127
5179
|
interface FocusEvent extends UIEvent {
|
|
5128
5180
|
readonly relatedTarget: EventTarget | null;
|
|
@@ -5325,7 +5377,7 @@ declare var GeolocationCoordinates: {
|
|
|
5325
5377
|
/** Available only in secure contexts. */
|
|
5326
5378
|
interface GeolocationPosition {
|
|
5327
5379
|
readonly coords: GeolocationCoordinates;
|
|
5328
|
-
readonly timestamp:
|
|
5380
|
+
readonly timestamp: EpochTimeStamp;
|
|
5329
5381
|
}
|
|
5330
5382
|
|
|
5331
5383
|
declare var GeolocationPosition: {
|
|
@@ -6640,7 +6692,8 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
6640
6692
|
hspace: number;
|
|
6641
6693
|
/** Sets or retrieves whether the image is a server-side image map. */
|
|
6642
6694
|
isMap: boolean;
|
|
6643
|
-
loading
|
|
6695
|
+
/** Sets or retrieves the policy for loading image elements that are outside the viewport. */
|
|
6696
|
+
loading: "eager" | "lazy";
|
|
6644
6697
|
/**
|
|
6645
6698
|
* Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
|
|
6646
6699
|
* @deprecated
|
|
@@ -7098,6 +7151,7 @@ interface HTMLMetaElement extends HTMLElement {
|
|
|
7098
7151
|
content: string;
|
|
7099
7152
|
/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */
|
|
7100
7153
|
httpEquiv: string;
|
|
7154
|
+
media: string;
|
|
7101
7155
|
/** Sets or retrieves the value specified in the content attribute of the meta object. */
|
|
7102
7156
|
name: string;
|
|
7103
7157
|
/**
|
|
@@ -7617,6 +7671,7 @@ declare var HTMLSlotElement: {
|
|
|
7617
7671
|
|
|
7618
7672
|
/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */
|
|
7619
7673
|
interface HTMLSourceElement extends HTMLElement {
|
|
7674
|
+
height: number;
|
|
7620
7675
|
/** Gets or sets the intended media type of the media source. */
|
|
7621
7676
|
media: string;
|
|
7622
7677
|
sizes: string;
|
|
@@ -7625,6 +7680,7 @@ interface HTMLSourceElement extends HTMLElement {
|
|
|
7625
7680
|
srcset: string;
|
|
7626
7681
|
/** Gets or sets the MIME type of a media resource. */
|
|
7627
7682
|
type: string;
|
|
7683
|
+
width: number;
|
|
7628
7684
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
7629
7685
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
7630
7686
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -8580,6 +8636,7 @@ interface IDBTransactionEventMap {
|
|
|
8580
8636
|
interface IDBTransaction extends EventTarget {
|
|
8581
8637
|
/** Returns the transaction's connection. */
|
|
8582
8638
|
readonly db: IDBDatabase;
|
|
8639
|
+
readonly durability: IDBTransactionDurability;
|
|
8583
8640
|
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
|
|
8584
8641
|
readonly error: DOMException | null;
|
|
8585
8642
|
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
|
|
@@ -8682,6 +8739,14 @@ interface InnerHTML {
|
|
|
8682
8739
|
innerHTML: string;
|
|
8683
8740
|
}
|
|
8684
8741
|
|
|
8742
|
+
interface InputDeviceInfo extends MediaDeviceInfo {
|
|
8743
|
+
}
|
|
8744
|
+
|
|
8745
|
+
declare var InputDeviceInfo: {
|
|
8746
|
+
prototype: InputDeviceInfo;
|
|
8747
|
+
new(): InputDeviceInfo;
|
|
8748
|
+
};
|
|
8749
|
+
|
|
8685
8750
|
interface InputEvent extends UIEvent {
|
|
8686
8751
|
readonly data: string | null;
|
|
8687
8752
|
readonly dataTransfer: DataTransfer | null;
|
|
@@ -10583,7 +10648,7 @@ declare var PublicKeyCredential: {
|
|
|
10583
10648
|
*/
|
|
10584
10649
|
interface PushManager {
|
|
10585
10650
|
getSubscription(): Promise<PushSubscription | null>;
|
|
10586
|
-
permissionState(options?: PushSubscriptionOptionsInit): Promise<
|
|
10651
|
+
permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
|
|
10587
10652
|
subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
|
|
10588
10653
|
}
|
|
10589
10654
|
|
|
@@ -10621,7 +10686,7 @@ declare var PushSubscriptionOptions: {
|
|
|
10621
10686
|
};
|
|
10622
10687
|
|
|
10623
10688
|
interface RTCCertificate {
|
|
10624
|
-
readonly expires:
|
|
10689
|
+
readonly expires: EpochTimeStamp;
|
|
10625
10690
|
getFingerprints(): RTCDtlsFingerprint[];
|
|
10626
10691
|
}
|
|
10627
10692
|
|
|
@@ -13073,11 +13138,20 @@ declare var ServiceWorkerRegistration: {
|
|
|
13073
13138
|
new(): ServiceWorkerRegistration;
|
|
13074
13139
|
};
|
|
13075
13140
|
|
|
13141
|
+
interface ShadowRootEventMap {
|
|
13142
|
+
"slotchange": Event;
|
|
13143
|
+
}
|
|
13144
|
+
|
|
13076
13145
|
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
|
|
13077
13146
|
readonly delegatesFocus: boolean;
|
|
13078
13147
|
readonly host: Element;
|
|
13079
13148
|
readonly mode: ShadowRootMode;
|
|
13149
|
+
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
|
|
13080
13150
|
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
|
|
13151
|
+
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13152
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
13153
|
+
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
13154
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
13081
13155
|
}
|
|
13082
13156
|
|
|
13083
13157
|
declare var ShadowRoot: {
|
|
@@ -13370,6 +13444,7 @@ declare var StorageEvent: {
|
|
|
13370
13444
|
/** Available only in secure contexts. */
|
|
13371
13445
|
interface StorageManager {
|
|
13372
13446
|
estimate(): Promise<StorageEstimate>;
|
|
13447
|
+
getDirectory(): Promise<FileSystemDirectoryHandle>;
|
|
13373
13448
|
persist(): Promise<boolean>;
|
|
13374
13449
|
persisted(): Promise<boolean>;
|
|
13375
13450
|
}
|
|
@@ -14131,6 +14206,13 @@ interface WEBGL_lose_context {
|
|
|
14131
14206
|
restoreContext(): void;
|
|
14132
14207
|
}
|
|
14133
14208
|
|
|
14209
|
+
interface WEBGL_multi_draw {
|
|
14210
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14211
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
14212
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14213
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14214
|
+
}
|
|
14215
|
+
|
|
14134
14216
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
14135
14217
|
interface WaveShaperNode extends AudioNode {
|
|
14136
14218
|
curve: Float32Array | null;
|
|
@@ -16296,12 +16378,13 @@ interface WindowOrWorkerGlobalScope {
|
|
|
16296
16378
|
readonly performance: Performance;
|
|
16297
16379
|
atob(data: string): string;
|
|
16298
16380
|
btoa(data: string): string;
|
|
16299
|
-
clearInterval(
|
|
16300
|
-
clearTimeout(
|
|
16381
|
+
clearInterval(id?: number): void;
|
|
16382
|
+
clearTimeout(id?: number): void;
|
|
16301
16383
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16302
16384
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16303
16385
|
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
16304
16386
|
queueMicrotask(callback: VoidFunction): void;
|
|
16387
|
+
reportError(e: any): void;
|
|
16305
16388
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
16306
16389
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
16307
16390
|
}
|
|
@@ -16790,7 +16873,7 @@ declare namespace WebAssembly {
|
|
|
16790
16873
|
|
|
16791
16874
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
16792
16875
|
type TableKind = "anyfunc" | "externref";
|
|
16793
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";
|
|
16876
|
+
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
16794
16877
|
type ExportValue = Function | Global | Memory | Table;
|
|
16795
16878
|
type Exports = Record<string, ExportValue>;
|
|
16796
16879
|
type ImportValue = ExportValue | number;
|
|
@@ -17570,12 +17653,13 @@ declare var origin: string;
|
|
|
17570
17653
|
declare var performance: Performance;
|
|
17571
17654
|
declare function atob(data: string): string;
|
|
17572
17655
|
declare function btoa(data: string): string;
|
|
17573
|
-
declare function clearInterval(
|
|
17574
|
-
declare function clearTimeout(
|
|
17656
|
+
declare function clearInterval(id?: number): void;
|
|
17657
|
+
declare function clearTimeout(id?: number): void;
|
|
17575
17658
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17576
17659
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17577
17660
|
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
17578
17661
|
declare function queueMicrotask(callback: VoidFunction): void;
|
|
17662
|
+
declare function reportError(e: any): void;
|
|
17579
17663
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
17580
17664
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
17581
17665
|
declare var sessionStorage: Storage;
|
|
@@ -17600,7 +17684,7 @@ type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
|
|
|
17600
17684
|
type ConstrainDouble = number | ConstrainDoubleRange;
|
|
17601
17685
|
type ConstrainULong = number | ConstrainULongRange;
|
|
17602
17686
|
type DOMHighResTimeStamp = number;
|
|
17603
|
-
type
|
|
17687
|
+
type EpochTimeStamp = number;
|
|
17604
17688
|
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
|
17605
17689
|
type Float32List = Float32Array | GLfloat[];
|
|
17606
17690
|
type FormDataEntryValue = File | string;
|
|
@@ -17684,17 +17768,21 @@ type DirectionSetting = "" | "lr" | "rl";
|
|
|
17684
17768
|
type DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";
|
|
17685
17769
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
17686
17770
|
type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
17771
|
+
type DocumentVisibilityState = "hidden" | "visible";
|
|
17687
17772
|
type EndOfStreamError = "decode" | "network";
|
|
17688
17773
|
type EndingType = "native" | "transparent";
|
|
17774
|
+
type FileSystemHandleKind = "directory" | "file";
|
|
17689
17775
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
17690
17776
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
17691
17777
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
17692
17778
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
17693
17779
|
type GamepadHapticActuatorType = "vibration";
|
|
17694
17780
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
17781
|
+
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
17695
17782
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
17696
17783
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
17697
17784
|
type IDBRequestReadyState = "done" | "pending";
|
|
17785
|
+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
17698
17786
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
17699
17787
|
type ImageOrientation = "flipY" | "none";
|
|
17700
17788
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
@@ -17732,7 +17820,6 @@ type PremultiplyAlpha = "default" | "none" | "premultiply";
|
|
|
17732
17820
|
type PresentationStyle = "attachment" | "inline" | "unspecified";
|
|
17733
17821
|
type PublicKeyCredentialType = "public-key";
|
|
17734
17822
|
type PushEncryptionKeyName = "auth" | "p256dh";
|
|
17735
|
-
type PushPermissionState = "denied" | "granted" | "prompt";
|
|
17736
17823
|
type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
|
|
17737
17824
|
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
17738
17825
|
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
@@ -17785,7 +17872,6 @@ type TouchType = "direct" | "stylus";
|
|
|
17785
17872
|
type TransferFunction = "hlg" | "pq" | "srgb";
|
|
17786
17873
|
type UserVerificationRequirement = "discouraged" | "preferred" | "required";
|
|
17787
17874
|
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
|
|
17788
|
-
type VisibilityState = "hidden" | "visible";
|
|
17789
17875
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
17790
17876
|
type WorkerType = "classic" | "module";
|
|
17791
17877
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
|
@@ -263,6 +263,13 @@ interface WEBGL_draw_buffers {
|
|
|
263
263
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
+
interface WEBGL_multi_draw {
|
|
267
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
268
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
|
269
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
270
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
271
|
+
}
|
|
272
|
+
|
|
266
273
|
interface WebGL2RenderingContextBase {
|
|
267
274
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
|
268
275
|
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|
|
@@ -157,7 +157,8 @@ interface ReadonlyMap<K, V> {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
interface MapConstructor {
|
|
160
|
-
new
|
|
160
|
+
new(): Map<any, any>;
|
|
161
|
+
new <K, V>(iterable?: Iterable<readonly [K, V]> | null): Map<K, V>;
|
|
161
162
|
}
|
|
162
163
|
|
|
163
164
|
interface WeakMap<K extends object, V> { }
|
package/lib/lib.es2020.intl.d.ts
CHANGED
|
@@ -223,6 +223,8 @@ declare namespace Intl {
|
|
|
223
223
|
signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;
|
|
224
224
|
unit?: string | undefined;
|
|
225
225
|
unitDisplay?: "short" | "long" | "narrow" | undefined;
|
|
226
|
+
currencyDisplay?: string | undefined;
|
|
227
|
+
currencySign?: string | undefined;
|
|
226
228
|
}
|
|
227
229
|
|
|
228
230
|
interface ResolvedNumberFormatOptions {
|
|
@@ -231,6 +233,8 @@ declare namespace Intl {
|
|
|
231
233
|
signDisplay?: "auto" | "never" | "always" | "exceptZero";
|
|
232
234
|
unit?: string;
|
|
233
235
|
unitDisplay?: "short" | "long" | "narrow";
|
|
236
|
+
currencyDisplay?: string;
|
|
237
|
+
currencySign?: string;
|
|
234
238
|
}
|
|
235
239
|
|
|
236
240
|
interface DateTimeFormatOptions {
|
package/lib/lib.es5.d.ts
CHANGED
|
@@ -4375,7 +4375,6 @@ declare namespace Intl {
|
|
|
4375
4375
|
localeMatcher?: string | undefined;
|
|
4376
4376
|
style?: string | undefined;
|
|
4377
4377
|
currency?: string | undefined;
|
|
4378
|
-
currencyDisplay?: string | undefined;
|
|
4379
4378
|
currencySign?: string | undefined;
|
|
4380
4379
|
useGrouping?: boolean | undefined;
|
|
4381
4380
|
minimumIntegerDigits?: number | undefined;
|
|
@@ -4390,7 +4389,6 @@ declare namespace Intl {
|
|
|
4390
4389
|
numberingSystem: string;
|
|
4391
4390
|
style: string;
|
|
4392
4391
|
currency?: string;
|
|
4393
|
-
currencyDisplay?: string;
|
|
4394
4392
|
minimumIntegerDigits: number;
|
|
4395
4393
|
minimumFractionDigits: number;
|
|
4396
4394
|
maximumFractionDigits: number;
|