Skip to content

Port generated lib files #22960

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

Merged
merged 1 commit into from
Mar 28, 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
48 changes: 27 additions & 21 deletions src/lib/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3285,6 +3285,7 @@ interface DOMTokenList {
contains(token: string): boolean;
item(index: number): string | null;
remove(...tokens: string[]): void;
replace(oldToken: string, newToken: string): void;
toString(): string;
toggle(token: string, force?: boolean): boolean;
[index: number]: string;
Expand Down Expand Up @@ -3532,10 +3533,10 @@ interface DocumentEventMap extends GlobalEventHandlersEventMap {
"submit": Event;
"suspend": Event;
"timeupdate": Event;
"touchcancel": Event;
"touchend": Event;
"touchmove": Event;
"touchstart": Event;
"touchcancel": TouchEvent;
"touchend": TouchEvent;
"touchmove": TouchEvent;
"touchstart": TouchEvent;
"volumechange": Event;
"waiting": Event;
"webkitfullscreenchange": Event;
Expand Down Expand Up @@ -3949,10 +3950,10 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent
* @param ev The event.
*/
ontimeupdate: ((this: Document, ev: Event) => any) | null;
ontouchcancel: ((this: Document, ev: Event) => any) | null;
ontouchend: ((this: Document, ev: Event) => any) | null;
ontouchmove: ((this: Document, ev: Event) => any) | null;
ontouchstart: ((this: Document, ev: Event) => any) | null;
ontouchcancel: ((this: Document, ev: TouchEvent) => any) | null;
ontouchend: ((this: Document, ev: TouchEvent) => any) | null;
ontouchmove: ((this: Document, ev: TouchEvent) => any) | null;
ontouchstart: ((this: Document, ev: TouchEvent) => any) | null;
onvisibilitychange: (this: Document, ev: Event) => any;
/**
* Occurs when the volume is changed, or playback is muted or unmuted.
Expand Down Expand Up @@ -4138,6 +4139,7 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent
* @param y The y-offset
*/
elementFromPoint(x: number, y: number): Element;
elementsFromPoint(x: number, y: number): Element[];
evaluate(expression: string, contextNode: Node, resolver: XPathNSResolver | null, type: number, result: XPathResult | null): XPathResult;
/**
* Executes a command on the current document, current selection, or the given range.
Expand Down Expand Up @@ -4312,6 +4314,7 @@ interface DocumentEvent {
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
createEvent(eventInterface: "StorageEvent"): StorageEvent;
createEvent(eventInterface: "TextEvent"): TextEvent;
createEvent(eventInterface: "TouchEvent"): TouchEvent;
createEvent(eventInterface: "TrackEvent"): TrackEvent;
createEvent(eventInterface: "TransitionEvent"): TransitionEvent;
createEvent(eventInterface: "UIEvent"): UIEvent;
Expand Down Expand Up @@ -4431,10 +4434,10 @@ interface ElementEventMap extends GlobalEventHandlersEventMap {
"MSPointerOut": Event;
"MSPointerOver": Event;
"MSPointerUp": Event;
"touchcancel": Event;
"touchend": Event;
"touchmove": Event;
"touchstart": Event;
"touchcancel": TouchEvent;
"touchend": TouchEvent;
"touchmove": TouchEvent;
"touchstart": TouchEvent;
"webkitfullscreenchange": Event;
"webkitfullscreenerror": Event;
}
Expand Down Expand Up @@ -4473,10 +4476,10 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, ParentNod
onmspointerout: ((this: Element, ev: Event) => any) | null;
onmspointerover: ((this: Element, ev: Event) => any) | null;
onmspointerup: ((this: Element, ev: Event) => any) | null;
ontouchcancel: ((this: Element, ev: Event) => any) | null;
ontouchend: ((this: Element, ev: Event) => any) | null;
ontouchmove: ((this: Element, ev: Event) => any) | null;
ontouchstart: ((this: Element, ev: Event) => any) | null;
ontouchcancel: ((this: Element, ev: TouchEvent) => any) | null;
ontouchend: ((this: Element, ev: TouchEvent) => any) | null;
ontouchmove: ((this: Element, ev: TouchEvent) => any) | null;
ontouchstart: ((this: Element, ev: TouchEvent) => any) | null;
onwebkitfullscreenchange: ((this: Element, ev: Event) => any) | null;
onwebkitfullscreenerror: ((this: Element, ev: Event) => any) | null;
outerHTML: string;
Expand Down Expand Up @@ -6131,6 +6134,7 @@ interface HTMLImageElement extends HTMLElement {
readonly complete: boolean;
crossOrigin: string | null;
readonly currentSrc: string;
decoding: "async" | "sync" | "auto";
/**
* Sets or retrieves the height of the object.
*/
Expand Down Expand Up @@ -14742,7 +14746,7 @@ interface WebSocket extends EventTarget {
readonly readyState: number;
readonly url: string;
close(code?: number, reason?: string): void;
send(data: string | ArrayBuffer | Blob | ArrayBufferView): void;
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
readonly CLOSED: number;
readonly CLOSING: number;
readonly CONNECTING: number;
Expand Down Expand Up @@ -14868,10 +14872,10 @@ interface WindowEventMap extends GlobalEventHandlersEventMap {
"submit": Event;
"suspend": Event;
"timeupdate": Event;
"touchcancel": Event;
"touchend": Event;
"touchmove": Event;
"touchstart": Event;
"touchcancel": TouchEvent;
"touchend": TouchEvent;
"touchmove": TouchEvent;
"touchstart": TouchEvent;
"unload": Event;
"volumechange": Event;
"vrdisplayactivate": Event;
Expand Down Expand Up @@ -15059,6 +15063,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
msWriteProfilerMark(profilerMarkName: string): void;
open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;
postMessage(message: any, targetOrigin: string, transfer?: any[]): void;
print(): void;
prompt(message?: string, _default?: string): string | null;
releaseEvents(): void;
requestAnimationFrame(callback: FrameRequestCallback): number;
Expand Down Expand Up @@ -15868,6 +15873,7 @@ declare function moveTo(x?: number, y?: number): void;
declare function msWriteProfilerMark(profilerMarkName: string): void;
declare function open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;
declare function postMessage(message: any, targetOrigin: string, transfer?: any[]): void;
declare function print(): void;
declare function prompt(message?: string, _default?: string): string | null;
declare function releaseEvents(): void;
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ interface WebSocket extends EventTarget {
readonly readyState: number;
readonly url: string;
close(code?: number, reason?: string): void;
send(data: string | ArrayBuffer | Blob | ArrayBufferView): void;
send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;
readonly CLOSED: number;
readonly CLOSING: number;
readonly CONNECTING: number;
Expand Down
Loading