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

Fix 'rerender' type to Promise<void> #310

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Fix 'rerender' type to Promise<void> #310

merged 1 commit into from
Aug 1, 2022

Conversation

mateusduraes
Copy link
Contributor

@mateusduraes mateusduraes commented Aug 1, 2022

Hello,

I noticed that since this change the rerender function became an async function, meaning that now it will return a Promise.

However, the return type of the rerender function wasn't updated from void to Promise<void> so I decided to open this PR.

Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@timdeschryver
Copy link
Member

@all-contributors please add @mateusduraes for code

@allcontributors
Copy link
Contributor

@timdeschryver

I've put up a pull request to add @mateusduraes! 🎉

@timdeschryver timdeschryver merged commit de1778b into testing-library:main Aug 1, 2022
@github-actions
Copy link

github-actions bot commented Aug 1, 2022

🎉 This PR is included in version 12.1.1 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants