Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port generated lib files #23069

Merged
merged 1 commit into from
Apr 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 30 additions & 24 deletions src/lib/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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 {
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
16 changes: 10 additions & 6 deletions src/lib/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
Loading