@types/web 0.0.44 → 0.0.48
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 +118 -53
- package/iterable.d.ts +7 -0
- 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.48 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.48.
|
package/index.d.ts
CHANGED
|
@@ -266,8 +266,8 @@ interface CredentialRequestOptions {
|
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
interface CryptoKeyPair {
|
|
269
|
-
privateKey
|
|
270
|
-
publicKey
|
|
269
|
+
privateKey: CryptoKey;
|
|
270
|
+
publicKey: CryptoKey;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
interface CustomEventInit<T = any> extends EventInit {
|
|
@@ -469,6 +469,18 @@ interface FileSystemFlags {
|
|
|
469
469
|
exclusive?: boolean;
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
interface FileSystemGetDirectoryOptions {
|
|
473
|
+
create?: boolean;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
interface FileSystemGetFileOptions {
|
|
477
|
+
create?: boolean;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
interface FileSystemRemoveOptions {
|
|
481
|
+
recursive?: boolean;
|
|
482
|
+
}
|
|
483
|
+
|
|
472
484
|
interface FocusEventInit extends UIEventInit {
|
|
473
485
|
relatedTarget?: EventTarget | null;
|
|
474
486
|
}
|
|
@@ -1181,7 +1193,7 @@ interface RTCAnswerOptions extends RTCOfferAnswerOptions {
|
|
|
1181
1193
|
}
|
|
1182
1194
|
|
|
1183
1195
|
interface RTCCertificateExpiration {
|
|
1184
|
-
expires?:
|
|
1196
|
+
expires?: number;
|
|
1185
1197
|
}
|
|
1186
1198
|
|
|
1187
1199
|
interface RTCConfiguration {
|
|
@@ -1630,7 +1642,7 @@ interface StreamPipeOptions {
|
|
|
1630
1642
|
}
|
|
1631
1643
|
|
|
1632
1644
|
interface StructuredSerializeOptions {
|
|
1633
|
-
transfer?:
|
|
1645
|
+
transfer?: Transferable[];
|
|
1634
1646
|
}
|
|
1635
1647
|
|
|
1636
1648
|
interface SubmitEventInit extends EventInit {
|
|
@@ -1806,42 +1818,42 @@ interface ANGLE_instanced_arrays {
|
|
|
1806
1818
|
}
|
|
1807
1819
|
|
|
1808
1820
|
interface ARIAMixin {
|
|
1809
|
-
ariaAtomic: string;
|
|
1810
|
-
ariaAutoComplete: string;
|
|
1811
|
-
ariaBusy: string;
|
|
1812
|
-
ariaChecked: string;
|
|
1813
|
-
ariaColCount: string;
|
|
1814
|
-
ariaColIndex: string;
|
|
1815
|
-
ariaColSpan: string;
|
|
1816
|
-
ariaCurrent: string;
|
|
1817
|
-
ariaDisabled: string;
|
|
1818
|
-
ariaExpanded: string;
|
|
1819
|
-
ariaHasPopup: string;
|
|
1820
|
-
ariaHidden: string;
|
|
1821
|
-
ariaKeyShortcuts: string;
|
|
1822
|
-
ariaLabel: string;
|
|
1823
|
-
ariaLevel: string;
|
|
1824
|
-
ariaLive: string;
|
|
1825
|
-
ariaModal: string;
|
|
1826
|
-
ariaMultiLine: string;
|
|
1827
|
-
ariaMultiSelectable: string;
|
|
1828
|
-
ariaOrientation: string;
|
|
1829
|
-
ariaPlaceholder: string;
|
|
1830
|
-
ariaPosInSet: string;
|
|
1831
|
-
ariaPressed: string;
|
|
1832
|
-
ariaReadOnly: string;
|
|
1833
|
-
ariaRequired: string;
|
|
1834
|
-
ariaRoleDescription: string;
|
|
1835
|
-
ariaRowCount: string;
|
|
1836
|
-
ariaRowIndex: string;
|
|
1837
|
-
ariaRowSpan: string;
|
|
1838
|
-
ariaSelected: string;
|
|
1839
|
-
ariaSetSize: string;
|
|
1840
|
-
ariaSort: string;
|
|
1841
|
-
ariaValueMax: string;
|
|
1842
|
-
ariaValueMin: string;
|
|
1843
|
-
ariaValueNow: string;
|
|
1844
|
-
ariaValueText: string;
|
|
1821
|
+
ariaAtomic: string | null;
|
|
1822
|
+
ariaAutoComplete: string | null;
|
|
1823
|
+
ariaBusy: string | null;
|
|
1824
|
+
ariaChecked: string | null;
|
|
1825
|
+
ariaColCount: string | null;
|
|
1826
|
+
ariaColIndex: string | null;
|
|
1827
|
+
ariaColSpan: string | null;
|
|
1828
|
+
ariaCurrent: string | null;
|
|
1829
|
+
ariaDisabled: string | null;
|
|
1830
|
+
ariaExpanded: string | null;
|
|
1831
|
+
ariaHasPopup: string | null;
|
|
1832
|
+
ariaHidden: string | null;
|
|
1833
|
+
ariaKeyShortcuts: string | null;
|
|
1834
|
+
ariaLabel: string | null;
|
|
1835
|
+
ariaLevel: string | null;
|
|
1836
|
+
ariaLive: string | null;
|
|
1837
|
+
ariaModal: string | null;
|
|
1838
|
+
ariaMultiLine: string | null;
|
|
1839
|
+
ariaMultiSelectable: string | null;
|
|
1840
|
+
ariaOrientation: string | null;
|
|
1841
|
+
ariaPlaceholder: string | null;
|
|
1842
|
+
ariaPosInSet: string | null;
|
|
1843
|
+
ariaPressed: string | null;
|
|
1844
|
+
ariaReadOnly: string | null;
|
|
1845
|
+
ariaRequired: string | null;
|
|
1846
|
+
ariaRoleDescription: string | null;
|
|
1847
|
+
ariaRowCount: string | null;
|
|
1848
|
+
ariaRowIndex: string | null;
|
|
1849
|
+
ariaRowSpan: string | null;
|
|
1850
|
+
ariaSelected: string | null;
|
|
1851
|
+
ariaSetSize: string | null;
|
|
1852
|
+
ariaSort: string | null;
|
|
1853
|
+
ariaValueMax: string | null;
|
|
1854
|
+
ariaValueMin: string | null;
|
|
1855
|
+
ariaValueNow: string | null;
|
|
1856
|
+
ariaValueText: string | null;
|
|
1845
1857
|
}
|
|
1846
1858
|
|
|
1847
1859
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
@@ -1849,7 +1861,7 @@ interface AbortController {
|
|
|
1849
1861
|
/** Returns the AbortSignal object associated with this object. */
|
|
1850
1862
|
readonly signal: AbortSignal;
|
|
1851
1863
|
/** 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. */
|
|
1852
|
-
abort(): void;
|
|
1864
|
+
abort(reason?: any): void;
|
|
1853
1865
|
}
|
|
1854
1866
|
|
|
1855
1867
|
declare var AbortController: {
|
|
@@ -1875,7 +1887,7 @@ interface AbortSignal extends EventTarget {
|
|
|
1875
1887
|
declare var AbortSignal: {
|
|
1876
1888
|
prototype: AbortSignal;
|
|
1877
1889
|
new(): AbortSignal;
|
|
1878
|
-
|
|
1890
|
+
abort(reason?: any): AbortSignal;
|
|
1879
1891
|
};
|
|
1880
1892
|
|
|
1881
1893
|
interface AbstractRange {
|
|
@@ -3235,7 +3247,7 @@ declare var CacheStorage: {
|
|
|
3235
3247
|
|
|
3236
3248
|
interface CanvasCompositing {
|
|
3237
3249
|
globalAlpha: number;
|
|
3238
|
-
globalCompositeOperation:
|
|
3250
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
3239
3251
|
}
|
|
3240
3252
|
|
|
3241
3253
|
interface CanvasDrawImage {
|
|
@@ -3261,6 +3273,7 @@ interface CanvasDrawPath {
|
|
|
3261
3273
|
interface CanvasFillStrokeStyles {
|
|
3262
3274
|
fillStyle: string | CanvasGradient | CanvasPattern;
|
|
3263
3275
|
strokeStyle: string | CanvasGradient | CanvasPattern;
|
|
3276
|
+
createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;
|
|
3264
3277
|
createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;
|
|
3265
3278
|
createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;
|
|
3266
3279
|
createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;
|
|
@@ -3584,6 +3597,8 @@ interface Crypto {
|
|
|
3584
3597
|
/** Available only in secure contexts. */
|
|
3585
3598
|
readonly subtle: SubtleCrypto;
|
|
3586
3599
|
getRandomValues<T extends ArrayBufferView | null>(array: T): T;
|
|
3600
|
+
/** Available only in secure contexts. */
|
|
3601
|
+
randomUUID(): string;
|
|
3587
3602
|
}
|
|
3588
3603
|
|
|
3589
3604
|
declare var Crypto: {
|
|
@@ -4290,7 +4305,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
|
|
|
4290
4305
|
readonly timeline: DocumentTimeline;
|
|
4291
4306
|
/** Contains the title of the document. */
|
|
4292
4307
|
title: string;
|
|
4293
|
-
readonly visibilityState:
|
|
4308
|
+
readonly visibilityState: DocumentVisibilityState;
|
|
4294
4309
|
/**
|
|
4295
4310
|
* Sets or gets the color of the links that the user has visited.
|
|
4296
4311
|
* @deprecated
|
|
@@ -5075,6 +5090,19 @@ declare var FileSystemDirectoryEntry: {
|
|
|
5075
5090
|
new(): FileSystemDirectoryEntry;
|
|
5076
5091
|
};
|
|
5077
5092
|
|
|
5093
|
+
/** Available only in secure contexts. */
|
|
5094
|
+
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
5095
|
+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
5096
|
+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
5097
|
+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
5098
|
+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
|
|
5099
|
+
}
|
|
5100
|
+
|
|
5101
|
+
declare var FileSystemDirectoryHandle: {
|
|
5102
|
+
prototype: FileSystemDirectoryHandle;
|
|
5103
|
+
new(): FileSystemDirectoryHandle;
|
|
5104
|
+
};
|
|
5105
|
+
|
|
5078
5106
|
interface FileSystemDirectoryReader {
|
|
5079
5107
|
readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;
|
|
5080
5108
|
}
|
|
@@ -5107,6 +5135,28 @@ declare var FileSystemFileEntry: {
|
|
|
5107
5135
|
new(): FileSystemFileEntry;
|
|
5108
5136
|
};
|
|
5109
5137
|
|
|
5138
|
+
/** Available only in secure contexts. */
|
|
5139
|
+
interface FileSystemFileHandle extends FileSystemHandle {
|
|
5140
|
+
getFile(): Promise<File>;
|
|
5141
|
+
}
|
|
5142
|
+
|
|
5143
|
+
declare var FileSystemFileHandle: {
|
|
5144
|
+
prototype: FileSystemFileHandle;
|
|
5145
|
+
new(): FileSystemFileHandle;
|
|
5146
|
+
};
|
|
5147
|
+
|
|
5148
|
+
/** Available only in secure contexts. */
|
|
5149
|
+
interface FileSystemHandle {
|
|
5150
|
+
readonly kind: FileSystemHandleKind;
|
|
5151
|
+
readonly name: string;
|
|
5152
|
+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
|
|
5153
|
+
}
|
|
5154
|
+
|
|
5155
|
+
declare var FileSystemHandle: {
|
|
5156
|
+
prototype: FileSystemHandle;
|
|
5157
|
+
new(): FileSystemHandle;
|
|
5158
|
+
};
|
|
5159
|
+
|
|
5110
5160
|
/** Focus-related events like focus, blur, focusin, or focusout. */
|
|
5111
5161
|
interface FocusEvent extends UIEvent {
|
|
5112
5162
|
readonly relatedTarget: EventTarget | null;
|
|
@@ -6624,7 +6674,8 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
6624
6674
|
hspace: number;
|
|
6625
6675
|
/** Sets or retrieves whether the image is a server-side image map. */
|
|
6626
6676
|
isMap: boolean;
|
|
6627
|
-
loading
|
|
6677
|
+
/** Sets or retrieves the policy for loading image elements that are outside the viewport. */
|
|
6678
|
+
loading: "eager" | "lazy";
|
|
6628
6679
|
/**
|
|
6629
6680
|
* Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
|
|
6630
6681
|
* @deprecated
|
|
@@ -7082,6 +7133,7 @@ interface HTMLMetaElement extends HTMLElement {
|
|
|
7082
7133
|
content: string;
|
|
7083
7134
|
/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */
|
|
7084
7135
|
httpEquiv: string;
|
|
7136
|
+
media: string;
|
|
7085
7137
|
/** Sets or retrieves the value specified in the content attribute of the meta object. */
|
|
7086
7138
|
name: string;
|
|
7087
7139
|
/**
|
|
@@ -7601,6 +7653,7 @@ declare var HTMLSlotElement: {
|
|
|
7601
7653
|
|
|
7602
7654
|
/** Provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating <source> elements. */
|
|
7603
7655
|
interface HTMLSourceElement extends HTMLElement {
|
|
7656
|
+
height: number;
|
|
7604
7657
|
/** Gets or sets the intended media type of the media source. */
|
|
7605
7658
|
media: string;
|
|
7606
7659
|
sizes: string;
|
|
@@ -7609,6 +7662,7 @@ interface HTMLSourceElement extends HTMLElement {
|
|
|
7609
7662
|
srcset: string;
|
|
7610
7663
|
/** Gets or sets the MIME type of a media resource. */
|
|
7611
7664
|
type: string;
|
|
7665
|
+
width: number;
|
|
7612
7666
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
7613
7667
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
7614
7668
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSourceElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -8564,6 +8618,7 @@ interface IDBTransactionEventMap {
|
|
|
8564
8618
|
interface IDBTransaction extends EventTarget {
|
|
8565
8619
|
/** Returns the transaction's connection. */
|
|
8566
8620
|
readonly db: IDBDatabase;
|
|
8621
|
+
readonly durability: IDBTransactionDurability;
|
|
8567
8622
|
/** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
|
|
8568
8623
|
readonly error: DOMException | null;
|
|
8569
8624
|
/** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
|
|
@@ -10613,7 +10668,7 @@ declare var PushSubscriptionOptions: {
|
|
|
10613
10668
|
};
|
|
10614
10669
|
|
|
10615
10670
|
interface RTCCertificate {
|
|
10616
|
-
readonly expires:
|
|
10671
|
+
readonly expires: EpochTimeStamp;
|
|
10617
10672
|
getFingerprints(): RTCDtlsFingerprint[];
|
|
10618
10673
|
}
|
|
10619
10674
|
|
|
@@ -13371,6 +13426,7 @@ declare var StorageEvent: {
|
|
|
13371
13426
|
/** Available only in secure contexts. */
|
|
13372
13427
|
interface StorageManager {
|
|
13373
13428
|
estimate(): Promise<StorageEstimate>;
|
|
13429
|
+
getDirectory(): Promise<FileSystemDirectoryHandle>;
|
|
13374
13430
|
persist(): Promise<boolean>;
|
|
13375
13431
|
persisted(): Promise<boolean>;
|
|
13376
13432
|
}
|
|
@@ -14132,6 +14188,13 @@ interface WEBGL_lose_context {
|
|
|
14132
14188
|
restoreContext(): void;
|
|
14133
14189
|
}
|
|
14134
14190
|
|
|
14191
|
+
interface WEBGL_multi_draw {
|
|
14192
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14193
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
|
|
14194
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
14195
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
14196
|
+
}
|
|
14197
|
+
|
|
14135
14198
|
/** A WaveShaperNode always has exactly one input and one output. */
|
|
14136
14199
|
interface WaveShaperNode extends AudioNode {
|
|
14137
14200
|
curve: Float32Array | null;
|
|
@@ -16297,8 +16360,8 @@ interface WindowOrWorkerGlobalScope {
|
|
|
16297
16360
|
readonly performance: Performance;
|
|
16298
16361
|
atob(data: string): string;
|
|
16299
16362
|
btoa(data: string): string;
|
|
16300
|
-
clearInterval(
|
|
16301
|
-
clearTimeout(
|
|
16363
|
+
clearInterval(id?: number): void;
|
|
16364
|
+
clearTimeout(id?: number): void;
|
|
16302
16365
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16303
16366
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16304
16367
|
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
@@ -16792,7 +16855,7 @@ declare namespace WebAssembly {
|
|
|
16792
16855
|
|
|
16793
16856
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
16794
16857
|
type TableKind = "anyfunc" | "externref";
|
|
16795
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";
|
|
16858
|
+
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
16796
16859
|
type ExportValue = Function | Global | Memory | Table;
|
|
16797
16860
|
type Exports = Record<string, ExportValue>;
|
|
16798
16861
|
type ImportValue = ExportValue | number;
|
|
@@ -17572,8 +17635,8 @@ declare var origin: string;
|
|
|
17572
17635
|
declare var performance: Performance;
|
|
17573
17636
|
declare function atob(data: string): string;
|
|
17574
17637
|
declare function btoa(data: string): string;
|
|
17575
|
-
declare function clearInterval(
|
|
17576
|
-
declare function clearTimeout(
|
|
17638
|
+
declare function clearInterval(id?: number): void;
|
|
17639
|
+
declare function clearTimeout(id?: number): void;
|
|
17577
17640
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17578
17641
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17579
17642
|
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
@@ -17603,7 +17666,6 @@ type ConstrainDOMString = string | string[] | ConstrainDOMStringParameters;
|
|
|
17603
17666
|
type ConstrainDouble = number | ConstrainDoubleRange;
|
|
17604
17667
|
type ConstrainULong = number | ConstrainULongRange;
|
|
17605
17668
|
type DOMHighResTimeStamp = number;
|
|
17606
|
-
type DOMTimeStamp = number;
|
|
17607
17669
|
type EpochTimeStamp = number;
|
|
17608
17670
|
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
|
17609
17671
|
type Float32List = Float32Array | GLfloat[];
|
|
@@ -17688,17 +17750,21 @@ type DirectionSetting = "" | "lr" | "rl";
|
|
|
17688
17750
|
type DisplayCaptureSurfaceType = "application" | "browser" | "monitor" | "window";
|
|
17689
17751
|
type DistanceModelType = "exponential" | "inverse" | "linear";
|
|
17690
17752
|
type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
17753
|
+
type DocumentVisibilityState = "hidden" | "visible";
|
|
17691
17754
|
type EndOfStreamError = "decode" | "network";
|
|
17692
17755
|
type EndingType = "native" | "transparent";
|
|
17756
|
+
type FileSystemHandleKind = "directory" | "file";
|
|
17693
17757
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
17694
17758
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
17695
17759
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
17696
17760
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
17697
17761
|
type GamepadHapticActuatorType = "vibration";
|
|
17698
17762
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
17763
|
+
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";
|
|
17699
17764
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
17700
17765
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
17701
17766
|
type IDBRequestReadyState = "done" | "pending";
|
|
17767
|
+
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
17702
17768
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
17703
17769
|
type ImageOrientation = "flipY" | "none";
|
|
17704
17770
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
@@ -17788,7 +17854,6 @@ type TouchType = "direct" | "stylus";
|
|
|
17788
17854
|
type TransferFunction = "hlg" | "pq" | "srgb";
|
|
17789
17855
|
type UserVerificationRequirement = "discouraged" | "preferred" | "required";
|
|
17790
17856
|
type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
|
|
17791
|
-
type VisibilityState = "hidden" | "visible";
|
|
17792
17857
|
type WebGLPowerPreference = "default" | "high-performance" | "low-power";
|
|
17793
17858
|
type WorkerType = "classic" | "module";
|
|
17794
17859
|
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
|
package/iterable.d.ts
CHANGED
|
@@ -243,6 +243,13 @@ interface WEBGL_draw_buffers {
|
|
|
243
243
|
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
+
interface WEBGL_multi_draw {
|
|
247
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
|
|
248
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
|
|
249
|
+
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;
|
|
250
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
|
|
251
|
+
}
|
|
252
|
+
|
|
246
253
|
interface WebGL2RenderingContextBase {
|
|
247
254
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
|
|
248
255
|
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
|