Skip to content
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

Wrong type definitions for hover/unhover #608

Closed
rosczja opened this issue Mar 22, 2021 · 3 comments · Fixed by #609
Closed

Wrong type definitions for hover/unhover #608

rosczja opened this issue Mar 22, 2021 · 3 comments · Fixed by #609
Labels
bug Something isn't working released

Comments

@rosczja
Copy link

rosczja commented Mar 22, 2021

Hi,

I am using @testing-library/user-event 13.0.6 and it seems that the Typescript types are wrong, because suddenly for the hover and unhover functions the init parameter is reported as mandatory.

Is this intended?

@strangedev
Copy link

I am also experiencing this issue. Also, it seems the type is now any instead of MouseEventInit.

@ph-fritsche ph-fritsche added the bug Something isn't working label Mar 22, 2021
@ph-fritsche
Copy link
Member

Thanks a lot for the report.

That module escaped the hurried converting in #599 😞
Fix will be released in a few minutes.

@github-actions
Copy link

🎉 This issue has been resolved in version 13.0.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants