Skip to content

Commit 5ba9d51

Browse files
author
VinceMalone
committed
make interfaces public
1 parent 590a5d9 commit 5ba9d51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

typings/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import { ComponentType } from 'react'
22
export { act } from 'react-test-renderer'
33

4-
interface RenderHookOptions<P> {
4+
export interface RenderHookOptions<P> {
55
initialProps?: P
66
wrapper?: React.ComponentType
77
}
88

9-
interface HookResult<R> {
9+
export interface HookResult<R> {
1010
readonly current: R
1111
readonly error: Error
1212
}
1313

14-
interface RenderHookResult<P, R> {
14+
export interface RenderHookResult<P, R> {
1515
readonly result: HookResult<R>
1616
readonly waitForNextUpdate: () => Promise<void>
1717
readonly unmount: () => boolean

0 commit comments

Comments
 (0)