We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590a5d9 commit 5ba9d51Copy full SHA for 5ba9d51
typings/index.d.ts
@@ -1,17 +1,17 @@
1
import { ComponentType } from 'react'
2
export { act } from 'react-test-renderer'
3
4
-interface RenderHookOptions<P> {
+export interface RenderHookOptions<P> {
5
initialProps?: P
6
wrapper?: React.ComponentType
7
}
8
9
-interface HookResult<R> {
+export interface HookResult<R> {
10
readonly current: R
11
readonly error: Error
12
13
14
-interface RenderHookResult<P, R> {
+export interface RenderHookResult<P, R> {
15
readonly result: HookResult<R>
16
readonly waitForNextUpdate: () => Promise<void>
17
readonly unmount: () => boolean
0 commit comments