We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 701872f + 90d3d1a commit 10b8ae7Copy full SHA for 10b8ae7
index.js.flow
@@ -0,0 +1,7 @@
1
+declare module 'use-async-effect' {
2
+ declare function useAsyncEffect<V>(
3
+ effect: () => Promise<V>,
4
+ destroy?: ?(result?: V) => void,
5
+ inputs?: any[]
6
+ ): void;
7
+}
0 commit comments