Skip to content

Commit 72b3a85

Browse files
authored
feat: add Flow type definition
1 parent 701872f commit 72b3a85

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.js.flow

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
declare module 'use-async-effect' {
2+
declare module.exports: <V>(
3+
effect: () => Promise<V>,
4+
destroy?: ?(result?: V) => void,
5+
inputs?: any[]
6+
) => void;
7+
}

0 commit comments

Comments
 (0)