We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2478e8 commit a16d3a3Copy full SHA for a16d3a3
index.d.ts
@@ -1,7 +1,7 @@
1
import { cleanup, act, RenderOptions, RenderResult } from 'react-testing-library'
2
3
export function renderHook<P, R>(
4
- callback: (...args: [P]) => R,
+ callback: (props: P) => R,
5
options?: {
6
initialProps?: P
7
} & RenderOptions
0 commit comments