@typescript-deploys/pr-build 5.4.0-pr-57040-6 → 5.4.0-pr-57008-39
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 +271 -142
- package/lib/lib.dom.iterable.d.ts +34 -28
- package/lib/lib.es5.d.ts +5 -0
- package/lib/lib.webworker.d.ts +108 -99
- package/lib/lib.webworker.iterable.d.ts +28 -28
- package/lib/tsc.js +185 -329
- package/lib/tsserver.js +207 -337
- package/lib/typescript.js +207 -337
- package/lib/typingsInstaller.js +49 -24
- package/package.json +2 -2
package/lib/lib.webworker.d.ts
CHANGED
|
@@ -267,7 +267,6 @@ interface FontFaceDescriptors {
|
|
|
267
267
|
stretch?: string;
|
|
268
268
|
style?: string;
|
|
269
269
|
unicodeRange?: string;
|
|
270
|
-
variant?: string;
|
|
271
270
|
weight?: string;
|
|
272
271
|
}
|
|
273
272
|
|
|
@@ -432,32 +431,21 @@ interface NavigationPreloadState {
|
|
|
432
431
|
headerValue?: string;
|
|
433
432
|
}
|
|
434
433
|
|
|
435
|
-
interface NotificationAction {
|
|
436
|
-
action: string;
|
|
437
|
-
icon?: string;
|
|
438
|
-
title: string;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
434
|
interface NotificationEventInit extends ExtendableEventInit {
|
|
442
435
|
action?: string;
|
|
443
436
|
notification: Notification;
|
|
444
437
|
}
|
|
445
438
|
|
|
446
439
|
interface NotificationOptions {
|
|
447
|
-
actions?: NotificationAction[];
|
|
448
440
|
badge?: string;
|
|
449
441
|
body?: string;
|
|
450
442
|
data?: any;
|
|
451
443
|
dir?: NotificationDirection;
|
|
452
444
|
icon?: string;
|
|
453
|
-
image?: string;
|
|
454
445
|
lang?: string;
|
|
455
|
-
renotify?: boolean;
|
|
456
446
|
requireInteraction?: boolean;
|
|
457
447
|
silent?: boolean | null;
|
|
458
448
|
tag?: string;
|
|
459
|
-
timestamp?: EpochTimeStamp;
|
|
460
|
-
vibrate?: VibratePattern;
|
|
461
449
|
}
|
|
462
450
|
|
|
463
451
|
interface Pbkdf2Params extends Algorithm {
|
|
@@ -535,16 +523,21 @@ interface QueuingStrategyInit {
|
|
|
535
523
|
|
|
536
524
|
interface RTCEncodedAudioFrameMetadata {
|
|
537
525
|
contributingSources?: number[];
|
|
526
|
+
payloadType?: number;
|
|
527
|
+
sequenceNumber?: number;
|
|
538
528
|
synchronizationSource?: number;
|
|
539
529
|
}
|
|
540
530
|
|
|
541
531
|
interface RTCEncodedVideoFrameMetadata {
|
|
532
|
+
contributingSources?: number[];
|
|
542
533
|
dependencies?: number[];
|
|
543
534
|
frameId?: number;
|
|
544
535
|
height?: number;
|
|
536
|
+
payloadType?: number;
|
|
545
537
|
spatialIndex?: number;
|
|
546
538
|
synchronizationSource?: number;
|
|
547
539
|
temporalIndex?: number;
|
|
540
|
+
timestamp?: number;
|
|
548
541
|
width?: number;
|
|
549
542
|
}
|
|
550
543
|
|
|
@@ -605,6 +598,7 @@ interface RequestInit {
|
|
|
605
598
|
method?: string;
|
|
606
599
|
/** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
|
|
607
600
|
mode?: RequestMode;
|
|
601
|
+
priority?: RequestPriority;
|
|
608
602
|
/** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
|
|
609
603
|
redirect?: RequestRedirect;
|
|
610
604
|
/** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
|
|
@@ -888,7 +882,7 @@ interface WebTransportOptions {
|
|
|
888
882
|
}
|
|
889
883
|
|
|
890
884
|
interface WebTransportSendStreamOptions {
|
|
891
|
-
sendOrder?: number
|
|
885
|
+
sendOrder?: number;
|
|
892
886
|
}
|
|
893
887
|
|
|
894
888
|
interface WorkerOptions {
|
|
@@ -995,7 +989,9 @@ interface AbstractWorker {
|
|
|
995
989
|
}
|
|
996
990
|
|
|
997
991
|
interface AnimationFrameProvider {
|
|
992
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
|
|
998
993
|
cancelAnimationFrame(handle: number): void;
|
|
994
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
|
|
999
995
|
requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
1000
996
|
}
|
|
1001
997
|
|
|
@@ -1682,6 +1678,10 @@ interface CanvasTextDrawingStyles {
|
|
|
1682
1678
|
font: string;
|
|
1683
1679
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontKerning) */
|
|
1684
1680
|
fontKerning: CanvasFontKerning;
|
|
1681
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontStretch) */
|
|
1682
|
+
fontStretch: CanvasFontStretch;
|
|
1683
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */
|
|
1684
|
+
fontVariantCaps: CanvasFontVariantCaps;
|
|
1685
1685
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */
|
|
1686
1686
|
letterSpacing: string;
|
|
1687
1687
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */
|
|
@@ -2423,7 +2423,7 @@ declare var ErrorEvent: {
|
|
|
2423
2423
|
*
|
|
2424
2424
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
|
|
2425
2425
|
*/
|
|
2426
|
-
interface Event
|
|
2426
|
+
interface Event {
|
|
2427
2427
|
/**
|
|
2428
2428
|
* 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.
|
|
2429
2429
|
*
|
|
@@ -2453,7 +2453,7 @@ interface Event<T extends EventTarget = EventTarget> {
|
|
|
2453
2453
|
*
|
|
2454
2454
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)
|
|
2455
2455
|
*/
|
|
2456
|
-
readonly currentTarget:
|
|
2456
|
+
readonly currentTarget: EventTarget | null;
|
|
2457
2457
|
/**
|
|
2458
2458
|
* Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
|
|
2459
2459
|
*
|
|
@@ -2489,7 +2489,7 @@ interface Event<T extends EventTarget = EventTarget> {
|
|
|
2489
2489
|
*
|
|
2490
2490
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)
|
|
2491
2491
|
*/
|
|
2492
|
-
readonly target:
|
|
2492
|
+
readonly target: EventTarget | null;
|
|
2493
2493
|
/**
|
|
2494
2494
|
* Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
|
|
2495
2495
|
*
|
|
@@ -2547,12 +2547,12 @@ declare var Event: {
|
|
|
2547
2547
|
readonly BUBBLING_PHASE: 3;
|
|
2548
2548
|
};
|
|
2549
2549
|
|
|
2550
|
-
interface EventListener
|
|
2551
|
-
(evt: Event
|
|
2550
|
+
interface EventListener {
|
|
2551
|
+
(evt: Event): void;
|
|
2552
2552
|
}
|
|
2553
2553
|
|
|
2554
|
-
interface EventListenerObject
|
|
2555
|
-
handleEvent(object: Event
|
|
2554
|
+
interface EventListenerObject {
|
|
2555
|
+
handleEvent(object: Event): void;
|
|
2556
2556
|
}
|
|
2557
2557
|
|
|
2558
2558
|
interface EventSourceEventMap {
|
|
@@ -2635,7 +2635,7 @@ interface EventTarget {
|
|
|
2635
2635
|
*
|
|
2636
2636
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)
|
|
2637
2637
|
*/
|
|
2638
|
-
addEventListener(type: string, callback: EventListenerOrEventListenerObject
|
|
2638
|
+
addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;
|
|
2639
2639
|
/**
|
|
2640
2640
|
* Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
|
|
2641
2641
|
*
|
|
@@ -2647,7 +2647,7 @@ interface EventTarget {
|
|
|
2647
2647
|
*
|
|
2648
2648
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
|
|
2649
2649
|
*/
|
|
2650
|
-
removeEventListener(type: string, callback: EventListenerOrEventListenerObject
|
|
2650
|
+
removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;
|
|
2651
2651
|
}
|
|
2652
2652
|
|
|
2653
2653
|
declare var EventTarget: {
|
|
@@ -2792,7 +2792,11 @@ interface FileReader extends EventTarget {
|
|
|
2792
2792
|
abort(): void;
|
|
2793
2793
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsArrayBuffer) */
|
|
2794
2794
|
readAsArrayBuffer(blob: Blob): void;
|
|
2795
|
-
/**
|
|
2795
|
+
/**
|
|
2796
|
+
* @deprecated
|
|
2797
|
+
*
|
|
2798
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsBinaryString)
|
|
2799
|
+
*/
|
|
2796
2800
|
readAsBinaryString(blob: Blob): void;
|
|
2797
2801
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL) */
|
|
2798
2802
|
readAsDataURL(blob: Blob): void;
|
|
@@ -2969,8 +2973,6 @@ interface FontFace {
|
|
|
2969
2973
|
style: string;
|
|
2970
2974
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange) */
|
|
2971
2975
|
unicodeRange: string;
|
|
2972
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/variant) */
|
|
2973
|
-
variant: string;
|
|
2974
2976
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/weight) */
|
|
2975
2977
|
weight: string;
|
|
2976
2978
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/load) */
|
|
@@ -4151,6 +4153,8 @@ interface Notification extends EventTarget {
|
|
|
4151
4153
|
onerror: ((this: Notification, ev: Event) => any) | null;
|
|
4152
4154
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/show_event) */
|
|
4153
4155
|
onshow: ((this: Notification, ev: Event) => any) | null;
|
|
4156
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction) */
|
|
4157
|
+
readonly requireInteraction: boolean;
|
|
4154
4158
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent) */
|
|
4155
4159
|
readonly silent: boolean | null;
|
|
4156
4160
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag) */
|
|
@@ -4782,7 +4786,7 @@ declare var RTCEncodedVideoFrame: {
|
|
|
4782
4786
|
};
|
|
4783
4787
|
|
|
4784
4788
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer) */
|
|
4785
|
-
interface RTCRtpScriptTransformer {
|
|
4789
|
+
interface RTCRtpScriptTransformer extends EventTarget {
|
|
4786
4790
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/options) */
|
|
4787
4791
|
readonly options: any;
|
|
4788
4792
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/readable) */
|
|
@@ -5180,6 +5184,7 @@ interface ServiceWorkerContainer extends EventTarget {
|
|
|
5180
5184
|
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
|
|
5181
5185
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
|
|
5182
5186
|
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
|
|
5187
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
|
|
5183
5188
|
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
|
|
5184
5189
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
|
|
5185
5190
|
readonly ready: Promise<ServiceWorkerRegistration>;
|
|
@@ -5242,6 +5247,7 @@ interface ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
|
|
5242
5247
|
onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;
|
|
5243
5248
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration) */
|
|
5244
5249
|
readonly registration: ServiceWorkerRegistration;
|
|
5250
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker) */
|
|
5245
5251
|
readonly serviceWorker: ServiceWorker;
|
|
5246
5252
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting) */
|
|
5247
5253
|
skipWaiting(): Promise<void>;
|
|
@@ -6026,13 +6032,13 @@ interface WEBGL_lose_context {
|
|
|
6026
6032
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw) */
|
|
6027
6033
|
interface WEBGL_multi_draw {
|
|
6028
6034
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
|
|
6029
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset:
|
|
6035
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
6030
6036
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
|
|
6031
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset:
|
|
6037
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: number, countsList: Int32Array | GLsizei[], countsOffset: number, drawcount: GLsizei): void;
|
|
6032
6038
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
|
|
6033
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset:
|
|
6039
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
6034
6040
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
|
|
6035
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset:
|
|
6041
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
6036
6042
|
}
|
|
6037
6043
|
|
|
6038
6044
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext) */
|
|
@@ -6054,7 +6060,6 @@ declare var WebGL2RenderingContext: {
|
|
|
6054
6060
|
readonly STENCIL: 0x1802;
|
|
6055
6061
|
readonly RED: 0x1903;
|
|
6056
6062
|
readonly RGB8: 0x8051;
|
|
6057
|
-
readonly RGBA8: 0x8058;
|
|
6058
6063
|
readonly RGB10_A2: 0x8059;
|
|
6059
6064
|
readonly TEXTURE_BINDING_3D: 0x806A;
|
|
6060
6065
|
readonly UNPACK_SKIP_IMAGES: 0x806D;
|
|
@@ -6565,6 +6570,7 @@ declare var WebGL2RenderingContext: {
|
|
|
6565
6570
|
readonly RENDERBUFFER: 0x8D41;
|
|
6566
6571
|
readonly RGBA4: 0x8056;
|
|
6567
6572
|
readonly RGB5_A1: 0x8057;
|
|
6573
|
+
readonly RGBA8: 0x8058;
|
|
6568
6574
|
readonly RGB565: 0x8D62;
|
|
6569
6575
|
readonly DEPTH_COMPONENT16: 0x81A5;
|
|
6570
6576
|
readonly STENCIL_INDEX8: 0x8D48;
|
|
@@ -6623,19 +6629,19 @@ interface WebGL2RenderingContextBase {
|
|
|
6623
6629
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
6624
6630
|
clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;
|
|
6625
6631
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
6626
|
-
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?:
|
|
6632
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: number): void;
|
|
6627
6633
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
6628
|
-
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?:
|
|
6634
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: number): void;
|
|
6629
6635
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
6630
|
-
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?:
|
|
6636
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;
|
|
6631
6637
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */
|
|
6632
6638
|
clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;
|
|
6633
6639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */
|
|
6634
6640
|
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
6635
|
-
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?:
|
|
6641
|
+
compressedTexImage3D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
6636
6642
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */
|
|
6637
6643
|
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;
|
|
6638
|
-
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?:
|
|
6644
|
+
compressedTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
6639
6645
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyBufferSubData) */
|
|
6640
6646
|
copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;
|
|
6641
6647
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */
|
|
@@ -6681,7 +6687,7 @@ interface WebGL2RenderingContextBase {
|
|
|
6681
6687
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
6682
6688
|
getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;
|
|
6683
6689
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) */
|
|
6684
|
-
getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?:
|
|
6690
|
+
getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView, dstOffset?: number, length?: GLuint): void;
|
|
6685
6691
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getFragDataLocation) */
|
|
6686
6692
|
getFragDataLocation(program: WebGLProgram, name: string): GLint;
|
|
6687
6693
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */
|
|
@@ -6732,7 +6738,7 @@ interface WebGL2RenderingContextBase {
|
|
|
6732
6738
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
6733
6739
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
6734
6740
|
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView | null): void;
|
|
6735
|
-
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset:
|
|
6741
|
+
texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: number): void;
|
|
6736
6742
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage2D) */
|
|
6737
6743
|
texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;
|
|
6738
6744
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage3D) */
|
|
@@ -6740,39 +6746,39 @@ interface WebGL2RenderingContextBase {
|
|
|
6740
6746
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texSubImage3D) */
|
|
6741
6747
|
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
6742
6748
|
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
6743
|
-
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?:
|
|
6749
|
+
texSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView | null, srcOffset?: number): void;
|
|
6744
6750
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
6745
6751
|
transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;
|
|
6746
6752
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6747
6753
|
uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;
|
|
6748
6754
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6749
|
-
uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
6755
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6750
6756
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6751
6757
|
uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;
|
|
6752
6758
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6753
|
-
uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
6759
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6754
6760
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6755
6761
|
uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;
|
|
6756
6762
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6757
|
-
uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
6763
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6758
6764
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6759
6765
|
uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;
|
|
6760
6766
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
6761
|
-
uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?:
|
|
6767
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6762
6768
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding) */
|
|
6763
6769
|
uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;
|
|
6764
6770
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
6765
|
-
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
6771
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6766
6772
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
6767
|
-
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
6773
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6768
6774
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
6769
|
-
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
6775
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6770
6776
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
6771
|
-
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
6777
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6772
6778
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
6773
|
-
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
6779
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6774
6780
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
6775
|
-
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
6781
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
6776
6782
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor) */
|
|
6777
6783
|
vertexAttribDivisor(index: GLuint, divisor: GLuint): void;
|
|
6778
6784
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
@@ -6799,7 +6805,6 @@ interface WebGL2RenderingContextBase {
|
|
|
6799
6805
|
readonly STENCIL: 0x1802;
|
|
6800
6806
|
readonly RED: 0x1903;
|
|
6801
6807
|
readonly RGB8: 0x8051;
|
|
6802
|
-
readonly RGBA8: 0x8058;
|
|
6803
6808
|
readonly RGB10_A2: 0x8059;
|
|
6804
6809
|
readonly TEXTURE_BINDING_3D: 0x806A;
|
|
6805
6810
|
readonly UNPACK_SKIP_IMAGES: 0x806D;
|
|
@@ -7056,54 +7061,54 @@ interface WebGL2RenderingContextOverloads {
|
|
|
7056
7061
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */
|
|
7057
7062
|
bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;
|
|
7058
7063
|
bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;
|
|
7059
|
-
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset:
|
|
7064
|
+
bufferData(target: GLenum, srcData: ArrayBufferView, usage: GLenum, srcOffset: number, length?: GLuint): void;
|
|
7060
7065
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */
|
|
7061
7066
|
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;
|
|
7062
|
-
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset:
|
|
7067
|
+
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: number, length?: GLuint): void;
|
|
7063
7068
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */
|
|
7064
7069
|
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, offset: GLintptr): void;
|
|
7065
|
-
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?:
|
|
7070
|
+
compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
7066
7071
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */
|
|
7067
7072
|
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, offset: GLintptr): void;
|
|
7068
|
-
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?:
|
|
7073
|
+
compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, srcData: ArrayBufferView, srcOffset?: number, srcLengthOverride?: GLuint): void;
|
|
7069
7074
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */
|
|
7070
7075
|
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView | null): void;
|
|
7071
7076
|
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, offset: GLintptr): void;
|
|
7072
|
-
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset:
|
|
7077
|
+
readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView, dstOffset: number): void;
|
|
7073
7078
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */
|
|
7074
7079
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
|
7075
7080
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
7076
7081
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
7077
7082
|
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
7078
|
-
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset:
|
|
7083
|
+
texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: number): void;
|
|
7079
7084
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */
|
|
7080
7085
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView | null): void;
|
|
7081
7086
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
7082
7087
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pboOffset: GLintptr): void;
|
|
7083
7088
|
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, source: TexImageSource): void;
|
|
7084
|
-
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset:
|
|
7089
|
+
texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, srcData: ArrayBufferView, srcOffset: number): void;
|
|
7085
7090
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7086
|
-
uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
7091
|
+
uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7087
7092
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7088
|
-
uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
7093
|
+
uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7089
7094
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7090
|
-
uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
7095
|
+
uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7091
7096
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7092
|
-
uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
7097
|
+
uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7093
7098
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7094
|
-
uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
7099
|
+
uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7095
7100
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7096
|
-
uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
7101
|
+
uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7097
7102
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7098
|
-
uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?:
|
|
7103
|
+
uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7099
7104
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
7100
|
-
uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?:
|
|
7105
|
+
uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7101
7106
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
7102
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
7107
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7103
7108
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
7104
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
7109
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7105
7110
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
7106
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?:
|
|
7111
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;
|
|
7107
7112
|
}
|
|
7108
7113
|
|
|
7109
7114
|
/**
|
|
@@ -7472,6 +7477,7 @@ declare var WebGLRenderingContext: {
|
|
|
7472
7477
|
readonly RENDERBUFFER: 0x8D41;
|
|
7473
7478
|
readonly RGBA4: 0x8056;
|
|
7474
7479
|
readonly RGB5_A1: 0x8057;
|
|
7480
|
+
readonly RGBA8: 0x8058;
|
|
7475
7481
|
readonly RGB565: 0x8D62;
|
|
7476
7482
|
readonly DEPTH_COMPONENT16: 0x81A5;
|
|
7477
7483
|
readonly STENCIL_INDEX8: 0x8D48;
|
|
@@ -8045,6 +8051,7 @@ interface WebGLRenderingContextBase {
|
|
|
8045
8051
|
readonly RENDERBUFFER: 0x8D41;
|
|
8046
8052
|
readonly RGBA4: 0x8056;
|
|
8047
8053
|
readonly RGB5_A1: 0x8057;
|
|
8054
|
+
readonly RGBA8: 0x8058;
|
|
8048
8055
|
readonly RGB565: 0x8D62;
|
|
8049
8056
|
readonly DEPTH_COMPONENT16: 0x81A5;
|
|
8050
8057
|
readonly STENCIL_INDEX8: 0x8D48;
|
|
@@ -8370,13 +8377,13 @@ interface WebTransportDatagramDuplexStream {
|
|
|
8370
8377
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark) */
|
|
8371
8378
|
incomingHighWaterMark: number;
|
|
8372
8379
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge) */
|
|
8373
|
-
incomingMaxAge: number;
|
|
8380
|
+
incomingMaxAge: number | null;
|
|
8374
8381
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize) */
|
|
8375
8382
|
readonly maxDatagramSize: number;
|
|
8376
8383
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark) */
|
|
8377
8384
|
outgoingHighWaterMark: number;
|
|
8378
8385
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge) */
|
|
8379
|
-
outgoingMaxAge: number;
|
|
8386
|
+
outgoingMaxAge: number | null;
|
|
8380
8387
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable) */
|
|
8381
8388
|
readonly readable: ReadableStream;
|
|
8382
8389
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */
|
|
@@ -8872,44 +8879,44 @@ declare var XMLHttpRequestUpload: {
|
|
|
8872
8879
|
|
|
8873
8880
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console) */
|
|
8874
8881
|
interface Console {
|
|
8875
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8882
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static) */
|
|
8876
8883
|
assert(condition?: boolean, ...data: any[]): void;
|
|
8877
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8884
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static) */
|
|
8878
8885
|
clear(): void;
|
|
8879
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8886
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
|
|
8880
8887
|
count(label?: string): void;
|
|
8881
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8888
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
|
|
8882
8889
|
countReset(label?: string): void;
|
|
8883
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8890
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
|
|
8884
8891
|
debug(...data: any[]): void;
|
|
8885
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8892
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static) */
|
|
8886
8893
|
dir(item?: any, options?: any): void;
|
|
8887
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8894
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static) */
|
|
8888
8895
|
dirxml(...data: any[]): void;
|
|
8889
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8896
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static) */
|
|
8890
8897
|
error(...data: any[]): void;
|
|
8891
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8898
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
|
|
8892
8899
|
group(...data: any[]): void;
|
|
8893
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8900
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
|
|
8894
8901
|
groupCollapsed(...data: any[]): void;
|
|
8895
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8902
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
|
|
8896
8903
|
groupEnd(): void;
|
|
8897
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8904
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
|
|
8898
8905
|
info(...data: any[]): void;
|
|
8899
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8906
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static) */
|
|
8900
8907
|
log(...data: any[]): void;
|
|
8901
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8908
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static) */
|
|
8902
8909
|
table(tabularData?: any, properties?: string[]): void;
|
|
8903
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
|
|
8904
8911
|
time(label?: string): void;
|
|
8905
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
|
|
8906
8913
|
timeEnd(label?: string): void;
|
|
8907
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
|
|
8908
8915
|
timeLog(label?: string, ...data: any[]): void;
|
|
8909
8916
|
timeStamp(label?: string): void;
|
|
8910
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8917
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
|
|
8911
8918
|
trace(...data: any[]): void;
|
|
8912
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/
|
|
8919
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static) */
|
|
8913
8920
|
warn(...data: any[]): void;
|
|
8914
8921
|
}
|
|
8915
8922
|
|
|
@@ -8978,11 +8985,11 @@ declare namespace WebAssembly {
|
|
|
8978
8985
|
var Module: {
|
|
8979
8986
|
prototype: Module;
|
|
8980
8987
|
new(bytes: BufferSource): Module;
|
|
8981
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/
|
|
8988
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/customSections_static) */
|
|
8982
8989
|
customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];
|
|
8983
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/
|
|
8990
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/exports_static) */
|
|
8984
8991
|
exports(moduleObject: Module): ModuleExportDescriptor[];
|
|
8985
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/
|
|
8992
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/Module/imports_static) */
|
|
8986
8993
|
imports(moduleObject: Module): ModuleImportDescriptor[];
|
|
8987
8994
|
};
|
|
8988
8995
|
|
|
@@ -9063,16 +9070,16 @@ declare namespace WebAssembly {
|
|
|
9063
9070
|
type Imports = Record<string, ModuleImports>;
|
|
9064
9071
|
type ModuleImports = Record<string, ImportValue>;
|
|
9065
9072
|
type ValueType = keyof ValueTypeMap;
|
|
9066
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
9073
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compile_static) */
|
|
9067
9074
|
function compile(bytes: BufferSource): Promise<Module>;
|
|
9068
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
9075
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/compileStreaming_static) */
|
|
9069
9076
|
function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;
|
|
9070
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
9077
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiate_static) */
|
|
9071
9078
|
function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
|
9072
9079
|
function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;
|
|
9073
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
9080
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/instantiateStreaming_static) */
|
|
9074
9081
|
function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;
|
|
9075
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/
|
|
9082
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/JavaScript_interface/validate_static) */
|
|
9076
9083
|
function validate(bytes: BufferSource): boolean;
|
|
9077
9084
|
}
|
|
9078
9085
|
|
|
@@ -9270,7 +9277,9 @@ declare function setInterval(handler: TimerHandler, timeout?: number, ...argumen
|
|
|
9270
9277
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
9271
9278
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/structuredClone) */
|
|
9272
9279
|
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
9280
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
|
|
9273
9281
|
declare function cancelAnimationFrame(handle: number): void;
|
|
9282
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
|
|
9274
9283
|
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
9275
9284
|
declare function addEventListener<K extends keyof DedicatedWorkerGlobalScopeEventMap>(type: K, listener: (this: DedicatedWorkerGlobalScope, ev: DedicatedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
9276
9285
|
declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -9290,7 +9299,7 @@ type CSSUnparsedSegment = string | CSSVariableReferenceValue;
|
|
|
9290
9299
|
type CanvasImageSource = ImageBitmap | OffscreenCanvas | VideoFrame;
|
|
9291
9300
|
type DOMHighResTimeStamp = number;
|
|
9292
9301
|
type EpochTimeStamp = number;
|
|
9293
|
-
type EventListenerOrEventListenerObject
|
|
9302
|
+
type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
|
|
9294
9303
|
type FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;
|
|
9295
9304
|
type Float32List = Float32Array | GLfloat[];
|
|
9296
9305
|
type FormDataEntryValue = File | string;
|
|
@@ -9326,7 +9335,6 @@ type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;
|
|
|
9326
9335
|
type TimerHandler = string | Function;
|
|
9327
9336
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
|
|
9328
9337
|
type Uint32List = Uint32Array | GLuint[];
|
|
9329
|
-
type VibratePattern = number | number[];
|
|
9330
9338
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
9331
9339
|
type AlphaOption = "discard" | "keep";
|
|
9332
9340
|
type AvcBitstreamFormat = "annexb" | "avc";
|
|
@@ -9388,6 +9396,7 @@ type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-
|
|
|
9388
9396
|
type RequestCredentials = "include" | "omit" | "same-origin";
|
|
9389
9397
|
type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
|
|
9390
9398
|
type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
|
|
9399
|
+
type RequestPriority = "auto" | "high" | "low";
|
|
9391
9400
|
type RequestRedirect = "error" | "follow" | "manual";
|
|
9392
9401
|
type ResizeQuality = "high" | "low" | "medium" | "pixelated";
|
|
9393
9402
|
type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
|