Uh oh!
There was an error while loading. Please reload this page.
Fix type definition of CustomEvent constructor - #2007
Conversation
Hi takeohman, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
Mohamed Hegazy (mhegazy)
commented
Feb 12, 2015
thanks for the PR. As i mentioned in #1837 this file is auto generated from the IE definition files. this makes it easy for us to get an almost accurate DOM definitions without having to update them manually. We plan on updating how the dom typings are generated but for now, we can not make hand edits to this file. If you can log a separate issue, i can get it fixed in our script and update the file. |
Mohamed Hegazy (mhegazy)
commented
Feb 12, 2015
Can you file an issue to track the change |
takeohman
commented
Feb 13, 2015
mhegazy, Thank you for your comment. |
Like #1837, I think CustomEvent constructor needs parameters.
The followings are links I checked.
https://dom.spec.whatwg.org/#interface-customevent
https://developer.mozilla.org/en/docs/Web/API/CustomEvent
http://html5index.org/DOM%20-%20EventInit.html
http://html5index.org/DOM%20-%20CustomEventInit.html