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 d595bef commit a59259eCopy full SHA for a59259e
src/connect/wrapMapToProps.ts
@@ -4,7 +4,7 @@ import { FixTypeLater } from '../types'
4
import verifyPlainObject from '../utils/verifyPlainObject'
5
6
type AnyState = { [key: string]: any }
7
-type StateOrDispatch<S = AnyState> = S | Dispatch
+type StateOrDispatch<S extends AnyState = AnyState> = S | Dispatch
8
9
type AnyProps = { [key: string]: any }
10
0 commit comments