Port generated lib files

This commit is contained in:
Mohamed Hegazy 2018-04-02 10:12:03 -07:00
parent 6d9a8250bd
commit f29a51fd2e
3 changed files with 50 additions and 40 deletions

View File

@ -4722,12 +4722,12 @@ interface FileReaderEventMap {
interface FileReader extends EventTarget {
readonly error: DOMException | null;
onabort: ((this: FileReader, ev: ProgressEvent) => any) | null;
onerror: ((this: FileReader, ev: ProgressEvent) => any) | null;
onload: ((this: FileReader, ev: ProgressEvent) => any) | null;
onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null;
onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null;
onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null;
onabort: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onerror: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onload: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onloadend: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onloadstart: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onprogress: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
readonly readyState: number;
readonly result: any;
abort(): void;
@ -4752,6 +4752,10 @@ declare var FileReader: {
readonly LOADING: number;
};
interface FileReaderProgressEvent extends ProgressEvent {
readonly target: FileReader | null;
}
interface FocusEvent extends UIEvent {
readonly relatedTarget: EventTarget;
initFocusEvent(typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, viewArg: Window, detailArg: number, relatedTargetArg: EventTarget): void;
@ -8872,6 +8876,7 @@ declare var MediaEncryptedEvent: {
interface MediaError {
readonly code: number;
readonly message: string;
readonly msExtendedCode: number;
readonly MEDIA_ERR_ABORTED: number;
readonly MEDIA_ERR_DECODE: number;
@ -9354,6 +9359,7 @@ interface Node extends EventTarget {
readonly baseURI: string | null;
readonly childNodes: NodeListOf<Node & ChildNode>;
readonly firstChild: Node | null;
readonly isConnected: boolean;
readonly lastChild: Node | null;
readonly localName: string | null;
readonly namespaceURI: string | null;
@ -9681,6 +9687,12 @@ declare var PannerNode: {
new(): PannerNode;
};
interface ParentNode {
readonly childElementCount: number;
readonly firstElementChild: Element | null;
readonly lastElementChild: Element | null;
}
interface ParentNode {
readonly children: HTMLCollection;
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
@ -9691,12 +9703,6 @@ interface ParentNode {
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
}
interface ParentNode {
readonly childElementCount: number;
readonly firstElementChild: Element | null;
readonly lastElementChild: Element | null;
}
interface Path2D extends CanvasPathMethods {
}
@ -13958,24 +13964,24 @@ interface WebGLRenderingContext {
texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, width: number, height: number, format: number, type: number, pixels: ArrayBufferView | null): void;
texSubImage2D(target: number, level: number, xoffset: number, yoffset: number, format: number, type: number, pixels: ImageBitmap | ImageData | HTMLVideoElement | HTMLImageElement | HTMLCanvasElement): void;
uniform1f(location: WebGLUniformLocation | null, x: number): void;
uniform1fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
uniform1fv(location: WebGLUniformLocation | null, v: Float32Array | ArrayLike<number>): void;
uniform1i(location: WebGLUniformLocation | null, x: number): void;
uniform1iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
uniform1iv(location: WebGLUniformLocation | null, v: Int32Array | ArrayLike<number>): void;
uniform2f(location: WebGLUniformLocation | null, x: number, y: number): void;
uniform2fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
uniform2fv(location: WebGLUniformLocation | null, v: Float32Array | ArrayLike<number>): void;
uniform2i(location: WebGLUniformLocation | null, x: number, y: number): void;
uniform2iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
uniform2iv(location: WebGLUniformLocation | null, v: Int32Array | ArrayLike<number>): void;
uniform3f(location: WebGLUniformLocation | null, x: number, y: number, z: number): void;
uniform3fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
uniform3fv(location: WebGLUniformLocation | null, v: Float32Array | ArrayLike<number>): void;
uniform3i(location: WebGLUniformLocation | null, x: number, y: number, z: number): void;
uniform3iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
uniform3iv(location: WebGLUniformLocation | null, v: Int32Array | ArrayLike<number>): void;
uniform4f(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void;
uniform4fv(location: WebGLUniformLocation, v: Float32Array | ArrayLike<number>): void;
uniform4fv(location: WebGLUniformLocation | null, v: Float32Array | ArrayLike<number>): void;
uniform4i(location: WebGLUniformLocation | null, x: number, y: number, z: number, w: number): void;
uniform4iv(location: WebGLUniformLocation, v: Int32Array | ArrayLike<number>): void;
uniformMatrix2fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
uniformMatrix3fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
uniformMatrix4fv(location: WebGLUniformLocation, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
uniform4iv(location: WebGLUniformLocation | null, v: Int32Array | ArrayLike<number>): void;
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: boolean, value: Float32Array | ArrayLike<number>): void;
useProgram(program: WebGLProgram | null): void;
validateProgram(program: WebGLProgram | null): void;
vertexAttrib1f(indx: number, x: number): void;
@ -15019,7 +15025,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
onvrdisplaypointerunrestricted: ((this: Window, ev: Event) => any) | null;
onvrdisplaypresentchange: ((this: Window, ev: Event) => any) | null;
onwaiting: ((this: Window, ev: Event) => any) | null;
readonly opener: any;
opener: any;
readonly orientation: string | number;
readonly outerHeight: number;
readonly outerWidth: number;

View File

@ -588,12 +588,12 @@ interface FileReaderEventMap {
interface FileReader extends EventTarget {
readonly error: DOMException | null;
onabort: ((this: FileReader, ev: ProgressEvent) => any) | null;
onerror: ((this: FileReader, ev: ProgressEvent) => any) | null;
onload: ((this: FileReader, ev: ProgressEvent) => any) | null;
onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null;
onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null;
onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null;
onabort: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onerror: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onload: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onloadend: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onloadstart: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
onprogress: ((this: FileReader, ev: FileReaderProgressEvent) => any) | null;
readonly readyState: number;
readonly result: any;
abort(): void;
@ -618,6 +618,10 @@ declare var FileReader: {
readonly LOADING: number;
};
interface FileReaderProgressEvent extends ProgressEvent {
readonly target: FileReader | null;
}
interface FileReaderSync {
readAsArrayBuffer(blob: Blob): any;
readAsBinaryString(blob: Blob): void;

File diff suppressed because one or more lines are too long