axios-hooks/test/testing-library__react-hooks.d.ts

8 lines
230 B
TypeScript

import { RenderHookResult } from '@testing-library/react-hooks'
declare module '@testing-library/react-hooks' {
interface RenderHookResult<P, R> {
readonly wait: (callback: Function, options: Object) => Promise<void>
}
}