We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ba1bd9 commit eaee298Copy full SHA for eaee298
index.d.ts
@@ -4,8 +4,7 @@ export function renderHook<P extends any, T extends (...args: [P]) => any>(
4
callback: (_: P) => ReturnType<T>,
5
options?: {
6
initialProps?: P
7
- options?: RenderOptions
8
- }
+ } & RenderOptions
9
): {
10
readonly result: {
11
current: ReturnType<T>
0 commit comments