Skip to content

Commit 3bbb746

Browse files
author
Unknown
committed
Fix typescript return type
1 parent d4f191f commit 3bbb746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
declare module 'use-async-effect' {
22
import { InputIdentityList } from 'react';
33

4-
export function useAsyncEffect(effect: () => Promise<void>, destroy?: () => void, inputs?: InputIdentityList);
4+
export function useAsyncEffect(effect: () => Promise<void>, destroy?: () => void, inputs?: InputIdentityList): void;
55
}

0 commit comments

Comments
 (0)