We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want override ClipboardEvent. So, I change overridingTypes.json and then run bat. But, Nothing is occured.
{ "kind": "method", "interface": "HTMLElement", "name": "onbeforecopy", "signatures": ["onbeforecopy: (ev: ClipboardEvent) => any"] }
This promlem has occured at removeTypes.json. Lib.d.ts addEventListener should specify ClipboardEvent payload for relevant events #5363
addEventListener
ClipboardEvent
The text was updated successfully, but these errors were encountered:
It is originally not defined as a method, but as a property. @zhengbli what is the recommendation here?
Sorry, something went wrong.
@mhegazy Thank's for your advise.It's my careless mistake. I was able to run if modified as follows.
{ "kind": "property", "interface": "HTMLElement", "name": "onbeforecopy", "type": "(ev: ClipboardEvent) => any" }
No branches or pull requests
I want override ClipboardEvent.
So, I change overridingTypes.json and then run bat.
But, Nothing is occured.
This promlem has occured at removeTypes.json.
Lib.d.ts
addEventListener
should specifyClipboardEvent
payload for relevant events #5363The text was updated successfully, but these errors were encountered: