File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- import type { ActionCreatorsMapObject , Dispatch , ActionCreator } from 'redux'
1
+ import type { ActionCreator , ActionCreatorsMapObject , Dispatch } from 'redux'
2
2
3
3
import type { FixTypeLater } from '../types'
4
4
import verifyPlainObject from '../utils/verifyPlainObject'
@@ -47,7 +47,7 @@ export function wrapMapToPropsConstant(
47
47
// A length of zero is assumed to mean mapToProps is getting args via arguments or ...args and
48
48
// therefore not reporting its length accurately..
49
49
// TODO Can this get pulled out so that we can subscribe directly to the store if we don't need ownProps?
50
- export function getDependsOnOwnProps ( mapToProps : MapToProps ) {
50
+ function getDependsOnOwnProps ( mapToProps : MapToProps ) {
51
51
return mapToProps . dependsOnOwnProps
52
52
? Boolean ( mapToProps . dependsOnOwnProps )
53
53
: mapToProps . length !== 1
You can’t perform that action at this time.
0 commit comments