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