source: imaps-frontend/node_modules/react-use/lib/useAsync.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 341 bytes
Line 
1import { DependencyList } from 'react';
2import { FunctionReturningPromise } from './misc/types';
3export { AsyncState, AsyncFnReturn } from './useAsyncFn';
4export default function useAsync<T extends FunctionReturningPromise>(fn: T, deps?: DependencyList): import("./useAsyncFn").AsyncState<import("./misc/types").PromiseType<ReturnType<T>>>;
Note: See TracBrowser for help on using the repository browser.