Fix type definition of CustomEvent constructor#2007
Fix type definition of CustomEvent constructor#2007takeohman wants to merge 1 commit intomicrosoft:masterfrom
CustomEvent constructor#2007Conversation
|
Hi @takeohman, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
|
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. |
|
Can you file an issue to track the change |
|
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