We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extend
1 parent 36604a1 commit 2bdb78aCopy full SHA for 2bdb78a
index.d.ts
@@ -1,6 +1,6 @@
1
import { cleanup, act, RenderOptions, RenderResult } from 'react-testing-library'
2
3
-export function renderHook<P extends any, R extends any>(
+export function renderHook<P, R>(
4
callback: (...args: [P]) => R,
5
options?: {
6
initialProps?: P
0 commit comments