-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
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
MouseEvent constructor is missing parameters #674
Comments
Adding to the bucket of lib.d.ts fixes me need to make |
Is there any way around this except patching lib.d.ts like this: declare var MouseEvent: { |
This is the only way i can think of as well. |
It's not a great solution, but another workaround is that the current TypeScript will let you use the deprecated method |
MouseEvent constructor is defined incorrectly in lib.d.ts. The constructor should take two parameters: a string for event type and a parameters object.
The text was updated successfully, but these errors were encountered: