react-hooks-testing-library version: 4.0.0import { RenderHookResult } from '@testing-library/react-hooks';
I Updated a TypeScript project that was using 3.x & that used RenderHookResult to 4.0.0
The type doesn't exists anymore
Any code importing the type should fail to compile
Same problem as https://github.com/testing-library/react-hooks-testing-library/issues/534 but on the result type instead of the option parameter.
Add the interface back to the new typescript-rewritten version
this is fixed & released in v5.0.0-beta.9. However, you are welcome to submit a PR fixing the export issue.
This is released in v5.0.0
Most helpful comment
This is released in v5.0.0