File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ type StateOrDispatch<S = AnyState> = S | Dispatch
9
9
type AnyProps = { [ key : string ] : any }
10
10
11
11
export type MapToProps < P = AnyProps > = {
12
+ // eslint-disable-next-line no-unused-vars
12
13
( stateOrDispatch : StateOrDispatch , ownProps ?: P ) : FixTypeLater
13
14
dependsOnOwnProps ?: boolean
14
15
}
@@ -18,7 +19,7 @@ export function wrapMapToPropsConstant(
18
19
// It seems that the dispatch argument
19
20
// could be a dispatch function in some cases (ex: whenMapDispatchToPropsIsMissing)
20
21
// and a state object in some others (ex: whenMapStateToPropsIsMissing)
21
- //
22
+ // eslint-disable-next-line no-unused-vars
22
23
getConstant : ( dispatch : Dispatch ) => { dispatch ?: Dispatch }
23
24
) {
24
25
return function initConstantSelector ( dispatch : Dispatch ) {
You can’t perform that action at this time.
0 commit comments