@@ -4722,12 +4722,12 @@ interface FileReaderEventMap {
4722
4722
4723
4723
interface FileReader extends EventTarget {
4724
4724
readonly error: DOMException | null;
4725
- onabort: ((this: FileReader, ev: ProgressEvent ) => any) | null;
4726
- onerror: ((this: FileReader, ev: ProgressEvent ) => any) | null;
4727
- onload: ((this: FileReader, ev: ProgressEvent ) => any) | null;
4728
- onloadend: ((this: FileReader, ev: ProgressEvent ) => any) | null;
4729
- onloadstart: ((this: FileReader, ev: ProgressEvent ) => any) | null;
4730
- onprogress: ((this: FileReader, ev: ProgressEvent ) => any) | null;
4725
+ onabort: ((this: FileReader, ev: FileReaderProgressEvent ) => any) | null;
4726
+ onerror: ((this: FileReader, ev: FileReaderProgressEvent ) => any) | null;
4727
+ onload: ((this: FileReader, ev: FileReaderProgressEvent ) => any) | null;
4728
+ onloadend: ((this: FileReader, ev: FileReaderProgressEvent ) => any) | null;
4729
+ onloadstart: ((this: FileReader, ev: FileReaderProgressEvent ) => any) | null;
4730
+ onprogress: ((this: FileReader, ev: FileReaderProgressEvent ) => any) | null;
4731
4731
readonly readyState: number;
4732
4732
readonly result: any;
4733
4733
abort(): void;
@@ -4752,6 +4752,10 @@ declare var FileReader: {
4752
4752
readonly LOADING: number;
4753
4753
};
4754
4754
4755
+ interface FileReaderProgressEvent extends ProgressEvent {
4756
+ readonly target: FileReader | null;
4757
+ }
4758
+
4755
4759
interface FocusEvent extends UIEvent {
4756
4760
readonly relatedTarget: EventTarget;
4757
4761
initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void;
@@ -8872,6 +8876,7 @@ declare var MediaEncryptedEvent: {
8872
8876
8873
8877
interface MediaError {
8874
8878
readonly code: number;
8879
+ readonly message: string;
8875
8880
readonly msExtendedCode: number;
8876
8881
readonly MEDIA_ERR_ABORTED: number;
8877
8882
readonly MEDIA_ERR_DECODE: number;
@@ -9354,6 +9359,7 @@ interface Node extends EventTarget {
9354
9359
readonly baseURI: string | null;
9355
9360
readonly childNodes: NodeListOf<Node & ChildNode>;
9356
9361
readonly firstChild: Node | null;
9362
+ readonly isConnected: boolean;
9357
9363
readonly lastChild: Node | null;
9358
9364
readonly localName: string | null;
9359
9365
readonly namespaceURI: string | null;
@@ -9681,6 +9687,12 @@ declare var PannerNode: {
9681
9687
new(): PannerNode;
9682
9688
};
9683
9689
9690
+ interface ParentNode {
9691
+ readonly childElementCount: number;
9692
+ readonly firstElementChild: Element | null;
9693
+ readonly lastElementChild: Element | null;
9694
+ }
9695
+
9684
9696
interface ParentNode {
9685
9697
readonly children: HTMLCollection;
9686
9698
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
@@ -9691,12 +9703,6 @@ interface ParentNode {
9691
9703
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
9692
9704
}
9693
9705
9694
- interface ParentNode {
9695
- readonly childElementCount: number;
9696
- readonly firstElementChild: Element | null;
9697
- readonly lastElementChild: Element | null;
9698
- }
9699
-
9700
9706
interface Path2D extends CanvasPathMethods {
9701
9707
}
9702
9708
@@ -13958,24 +13964,24 @@ interface WebGLRenderingContext {
13958
13964
texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void;
13959
13965
texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void;
13960
13966
uniform1f(location: WebGLUniformLocation | null, x: number): void;
13961
- uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
13967
+ uniform1fv(location: WebGLUniformLocation | null , v: Float32Array | ArrayLike<number>): void;
13962
13968
uniform1i(location: WebGLUniformLocation | null, x: number): void;
13963
- uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
13969
+ uniform1iv(location: WebGLUniformLocation | null , v: Int32Array | ArrayLike<number>): void;
13964
13970
uniform2f(location: WebGLUniformLocation | null, x: number, y: number): void;
13965
- uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
13971
+ uniform2fv(location: WebGLUniformLocation | null , v: Float32Array | ArrayLike<number>): void;
13966
13972
uniform2i(location: WebGLUniformLocation | null, x: number, y: number): void;
13967
- uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
13973
+ uniform2iv(location: WebGLUniformLocation | null , v: Int32Array | ArrayLike<number>): void;
13968
13974
uniform3f(location: WebGLUniformLocation | null, x: number, y: number, z: number): void;
13969
- uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
13975
+ uniform3fv(location: WebGLUniformLocation | null , v: Float32Array | ArrayLike<number>): void;
13970
13976
uniform3i(location: WebGLUniformLocation | null, x: number, y: number, z: number): void;
13971
- uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
13977
+ uniform3iv(location: WebGLUniformLocation | null , v: Int32Array | ArrayLike<number>): void;
13972
13978
uniform4f(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void;
13973
- uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
13979
+ uniform4fv(location: WebGLUniformLocation | null , v: Float32Array | ArrayLike<number>): void;
13974
13980
uniform4i(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void;
13975
- uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
13976
- uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
13977
- uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
13978
- uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
13981
+ uniform4iv(location: WebGLUniformLocation | null , v: Int32Array | ArrayLike<number>): void;
13982
+ uniformMatrix2fv(location: WebGLUniformLocation | null , transpose: boolean, value: Float32Array | ArrayLike<number>): void;
13983
+ uniformMatrix3fv(location: WebGLUniformLocation | null , transpose: boolean, value: Float32Array | ArrayLike<number>): void;
13984
+ uniformMatrix4fv(location: WebGLUniformLocation | null , transpose: boolean, value: Float32Array | ArrayLike<number>): void;
13979
13985
useProgram(program: WebGLProgram | null): void;
13980
13986
validateProgram(program: WebGLProgram | null): void;
13981
13987
vertexAttrib1f(indx: number, x: number): void;
@@ -15019,7 +15025,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
15019
15025
onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;
15020
15026
onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;
15021
15027
onwaiting: ((this: Window, ev: Event) => any) | null;
15022
- readonly opener: any;
15028
+ opener: any;
15023
15029
readonly orientation: string | number;
15024
15030
readonly outerHeight: number;
15025
15031
readonly outerWidth: number;
0 commit comments