Skip to content

Commit 8c7a90b

Browse files
authored
Update test.ts
1 parent 2f8a22c commit 8c7a90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import useEffect, { useAsyncEffect } from 'use-async-effect';
44
useAsyncEffect();
55

66
// $ExpectType void
7-
useAsyncEffect((isMounted) => {});
7+
useAsyncEffect((isActive) => {});
88

99
// $ExpectType void
1010
useEffect(async () => {});

0 commit comments

Comments
 (0)