-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Export RenderHookOptions type #1062
Conversation
RenderHookOptions should be exported as well
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 77a25c9:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@all-contributors add @mboettcher for code
Codecov Report
@@ Coverage Diff @@
## main #1062 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 4
Lines 181 181
Branches 34 34
=========================================
Hits 181 181
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@all-contributors add @mboettcher for code |
1 similar comment
@all-contributors add @mboettcher for code |
I've put up a pull request to add @mboettcher! 🎉 |
🎉 This PR is included in version 13.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi -
@testing-library/react-hooks
exported the typeRenderHookOptions
, it would be great if it could be exported here as well since it is helpful when we write wrappers aroundrenderHook
(e.g. I have a wrapper to enable react-router).What:
Export
RenderHookOptions
Why:
It's helpful when writing own extensions to
renderHook
.How:
added an export ;)
Checklist:
docs site N/A