{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7176","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7176/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7176/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7176/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7176","id":135242078,"number":7176,"title":"Missing definitions for events related to <input type='field' ...>","user":{"login":"simonh1000","id":5256724,"avatar_url":"https://avatars.githubusercontent.com/u/5256724?v=3","gravatar_id":"","url":"https://api.github.com/users/simonh1000","html_url":"https://github.com/simonh1000","followers_url":"https://api.github.com/users/simonh1000/followers","following_url":"https://api.github.com/users/simonh1000/following{/other_user}","gists_url":"https://api.github.com/users/simonh1000/gists{/gist_id}","starred_url":"https://api.github.com/users/simonh1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonh1000/subscriptions","organizations_url":"https://api.github.com/users/simonh1000/orgs","repos_url":"https://api.github.com/users/simonh1000/repos","events_url":"https://api.github.com/users/simonh1000/events{/privacy}","received_events_url":"https://api.github.com/users/simonh1000/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":"closed","locked":false,"assignee":null,"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":150,"closed_issues":79,"state":"open","created_at":"2014-07-14T23:24:58Z","updated_at":"2016-02-23T23:30:54Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-02-21T18:51:38Z","updated_at":"2016-02-23T23:30:54Z","closed_at":"2016-02-23T23:30:54Z","body":"**TypeScript Version:** \r\n\r\n1.7.5 \r\n\r\n**Code**\r\n\r\n```ts\r\n           var reader = new FileReader();\r\n\r\n            reader.onload = function(evt) {\r\n                // console.log(evt.target.result);\r\n                debugger;\r\n                resolve(evt.target.result);\r\n                // resolve(evt.srcElement.result);\r\n            };\r\n\r\n```\r\n\r\n**Expected behavior:**\r\ncode should pass typescript check\r\n\r\n**Actual behavior:** \r\nthe `.result` fields are being marked as `does not exist on EventTarget` / `Element`"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/187964756","html_url":"https://github.com/Microsoft/TypeScript/issues/7176#issuecomment-187964756","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7176","id":187964756,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T23:30:54Z","updated_at":"2016-02-23T23:30:54Z","body":"looks like a duplicate of #4163"}}