Closed
Description
react-hooks-testing-library
version: 4.0.0
Relevant code or config:
import { RenderHookOptions } from '@testing-library/react-hooks'
What you did:
Import the RenderHookOptions
type.
What happened:
The RenderHookOptions
type was not found.
Reproduction:
See code.
Problem description:
Since the library has been re-written in TypeScript it no longer exports the RenderHookOptions
as a seperate type. This is causing our CI to fail: Amsterdam/amsterdam-styled-components#1469
Suggested solution:
Restore the RenderHookOptions
type so it can be used again.