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> = {
3838
3939export function renderHook < Result , Props > (
4040 hookToRender : ( props : Props ) => Result ,
41- options ?: RenderHookOptions < Props > ,
41+ options ?: RenderHookOptions < NoInfer < Props > > ,
4242) : RenderHookResult < Result , Props > {
4343 const result = React . createRef < Result > ( ) as RefObject < Result > ;
4444
@@ -67,7 +67,7 @@ export function renderHook<Result, Props>(
6767
6868export async function renderHookAsync < Result , Props > (
6969 hookToRender : ( props : Props ) => Result ,
70- options ?: RenderHookOptions < Props > ,
70+ options ?: RenderHookOptions < NoInfer < Props > > ,
7171) : Promise < RenderHookAsyncResult < Result , Props > > {
7272 const result = React . createRef < Result > ( ) as RefObject < Result > ;
7373
You can’t perform that action at this time.
0 commit comments