{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5708","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5708/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5708/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5708/events","html_url":"https://github.com/Microsoft/TypeScript/issues/5708","id":117486953,"number":5708,"title":"TouchEvent on() handlers in \"lib.d.ts\"","user":{"login":"GoToLoop","id":6551569,"avatar_url":"https://avatars.githubusercontent.com/u/6551569?v=3","gravatar_id":"","url":"https://api.github.com/users/GoToLoop","html_url":"https://github.com/GoToLoop","followers_url":"https://api.github.com/users/GoToLoop/followers","following_url":"https://api.github.com/users/GoToLoop/following{/other_user}","gists_url":"https://api.github.com/users/GoToLoop/gists{/gist_id}","starred_url":"https://api.github.com/users/GoToLoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoToLoop/subscriptions","organizations_url":"https://api.github.com/users/GoToLoop/orgs","repos_url":"https://api.github.com/users/GoToLoop/repos","events_url":"https://api.github.com/users/GoToLoop/events{/privacy}","received_events_url":"https://api.github.com/users/GoToLoop/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Accepting%20PRs","name":"Accepting PRs","color":"009800"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Domain:%20lib.d.ts","name":"Domain: lib.d.ts","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"zhengbli","id":1171301,"avatar_url":"https://avatars.githubusercontent.com/u/1171301?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengbli","html_url":"https://github.com/zhengbli","followers_url":"https://api.github.com/users/zhengbli/followers","following_url":"https://api.github.com/users/zhengbli/following{/other_user}","gists_url":"https://api.github.com/users/zhengbli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengbli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengbli/subscriptions","organizations_url":"https://api.github.com/users/zhengbli/orgs","repos_url":"https://api.github.com/users/zhengbli/repos","events_url":"https://api.github.com/users/zhengbli/events{/privacy}","received_events_url":"https://api.github.com/users/zhengbli/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/2","html_url":"https://github.com/Microsoft/TypeScript/milestones/Community","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/2/labels","id":721044,"number":2,"title":"Community","description":"Issues in the 'Community' milestone are ones which we are accepting pull requests for","creator":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"open_issues":167,"closed_issues":53,"state":"open","created_at":"2014-07-14T23:24:58Z","updated_at":"2016-02-03T07:36:27Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-18T00:56:41Z","updated_at":"2016-02-03T09:18:16Z","closed_at":null,"body":"Diff. from any other event handler in \"lib.d.ts\", the 4 [**_TouchEvent_**](https://developer.Mozilla.org/en-US/docs/Web/API/TouchEvent) callbacks are merely declared as `any`:\r\n```ts\r\ndeclare var ontouchcancel: any;\r\ndeclare var ontouchend: any;\r\ndeclare var ontouchmove: any;\r\ndeclare var ontouchstart: any;\r\n```\r\n\r\nThey should be declared this way instead:\r\n```ts\r\ndeclare var ontouchcancel: (ev: TouchEvent) => any;\r\ndeclare var ontouchend: (ev: TouchEvent) => any;\r\ndeclare var ontouchmove: (ev: TouchEvent) => any;\r\ndeclare var ontouchstart: (ev: TouchEvent) => any;\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/179113564","html_url":"https://github.com/Microsoft/TypeScript/issues/5708#issuecomment-179113564","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5708","id":179113564,"user":{"login":"DanielRosenwasser","id":972891,"avatar_url":"https://avatars.githubusercontent.com/u/972891?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T09:18:16Z","updated_at":"2016-02-03T09:18:16Z","body":"I think those should return `void``"}}