We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f33e457 commit a5754f2Copy full SHA for a5754f2
test/useRef.ts
@@ -13,7 +13,7 @@ describe('useHook tests', () => {
13
14
test('should handle useImperativeHandle hook', () => {
15
const { result } = renderHook(() => {
16
- const ref = useRef<Record<string, CallableFunction>>({})
+ const ref = useRef<Record<string, () => boolean>>({})
17
useImperativeHandle(ref, () => ({
18
fakeImperativeMethod: () => true
19
}))
0 commit comments