File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export type RenderHookOptions<Props> = {
38
38
39
39
export function renderHook < Result , Props > (
40
40
hookToRender : ( props : Props ) => Result ,
41
- options ?: RenderHookOptions < Props > ,
41
+ options ?: RenderHookOptions < NoInfer < Props > > ,
42
42
) : RenderHookResult < Result , Props > {
43
43
const result = React . createRef < Result > ( ) as RefObject < Result > ;
44
44
@@ -67,7 +67,7 @@ export function renderHook<Result, Props>(
67
67
68
68
export async function renderHookAsync < Result , Props > (
69
69
hookToRender : ( props : Props ) => Result ,
70
- options ?: RenderHookOptions < Props > ,
70
+ options ?: RenderHookOptions < NoInfer < Props > > ,
71
71
) : Promise < RenderHookAsyncResult < Result , Props > > {
72
72
const result = React . createRef < Result > ( ) as RefObject < Result > ;
73
73
You can’t perform that action at this time.
0 commit comments