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
|
Rev | Line | |
---|
[d565449] | 1 | import { DependencyList } from 'react';
|
---|
| 2 | import { FunctionReturningPromise } from './misc/types';
|
---|
| 3 | export { AsyncState, AsyncFnReturn } from './useAsyncFn';
|
---|
| 4 | export 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.