Skip to content

Change TouchEvent on() handlers type #64

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
Feb 11, 2016
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
16 changes: 8 additions & 8 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11937,10 +11937,10 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
onsubmit: (ev: Event) => any;
onsuspend: (ev: Event) => any;
ontimeupdate: (ev: Event) => any;
ontouchcancel: any;
ontouchend: any;
ontouchmove: any;
ontouchstart: any;
ontouchcancel: (ev: TouchEvent) => any;
ontouchend: (ev: TouchEvent) => any;
ontouchmove: (ev: TouchEvent) => any;
ontouchstart: (ev: TouchEvent) => any;
onunload: (ev: Event) => any;
onvolumechange: (ev: Event) => any;
onwaiting: (ev: Event) => any;
Expand Down Expand Up @@ -12805,10 +12805,10 @@ declare var onstorage: (ev: StorageEvent) => any;
declare var onsubmit: (ev: Event) => any;
declare var onsuspend: (ev: Event) => any;
declare var ontimeupdate: (ev: Event) => any;
declare var ontouchcancel: any;
declare var ontouchend: any;
declare var ontouchmove: any;
declare var ontouchstart: any;
declare var ontouchcancel: (ev: TouchEvent) => any;
declare var ontouchend: (ev: TouchEvent) => any;
declare var ontouchmove: (ev: TouchEvent) => any;
declare var ontouchstart: (ev: TouchEvent) => any;
declare var onunload: (ev: Event) => any;
declare var onvolumechange: (ev: Event) => any;
declare var onwaiting: (ev: Event) => any;
Expand Down
20 changes: 20 additions & 0 deletions inputfiles/overridingTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,5 +364,25 @@
"kind": "callback",
"name": "DecodeErrorCallback",
"signatures": ["(error: DOMException): void"]
},
{
"kind": "property",
"name": "ontouchcancel",
"type": "(ev: TouchEvent) => any"
},
{
"kind": "property",
"name": "ontouchend",
"type": "(ev: TouchEvent) => any"
},
{
"kind": "property",
"name": "ontouchmove",
"type": "(ev: TouchEvent) => any"
},
{
"kind": "property",
"name": "ontouchstart",
"type": "(ev: TouchEvent) => any"
}
]