You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React Testing Library ships with TypeScript types, and when moving to use renderHook from this react-hooks-testing-library, there are no types declared.
Other than the rename from testHook (which also still exists) to renderHook, there has also been a new option added (initialProps) and a parameter added to rerender (newProps).
React Testing Library ships with TypeScript types, and when moving to use
renderHook
from this react-hooks-testing-library, there are no types declared.This seems like the types could mostly be re-exported from react-testing-library, and pull in what it had for
testHook
before removing it in v6.0.0: testing-library/react-testing-library@12d934a#diff-494415c3af35245ecae73f5d42d8b331L55The text was updated successfully, but these errors were encountered: