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 5b677b0 commit 8c72825Copy full SHA for 8c72825
src/index.js.flow
@@ -4,7 +4,7 @@ import * as React from 'react'
4
5
/* Utils */
6
7
-type Updater<T> = (value: T | ((updater: T) => T)) => void
+type Updater<T> = (value: ((updater: T) => T) | T) => void
8
9
/* Active */
10
0 commit comments