Skip to content

Commit 3a20f5d

Browse files
committed
chore: fix ts def
1 parent 872f490 commit 3a20f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type SetState<T> = (
88
* Will not update state when destroyed.
99
* Developer should make sure this is safe to ignore.
1010
*/
11-
ignoreDestroy: boolean,
11+
ignoreDestroy?: boolean,
1212
) => void;
1313

1414
/**

0 commit comments

Comments
 (0)