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.
1 parent 872f490 commit 3a20f5dCopy full SHA for 3a20f5d
src/hooks/useState.ts
@@ -8,7 +8,7 @@ type SetState<T> = (
8
* Will not update state when destroyed.
9
* Developer should make sure this is safe to ignore.
10
*/
11
- ignoreDestroy: boolean,
+ ignoreDestroy?: boolean,
12
) => void;
13
14
/**
0 commit comments