Skip to content

Commit 688bbe0

Browse files
committed
Silence some incorrect ESLint warnings for now
1 parent 0cece74 commit 688bbe0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/connect/wrapMapToProps.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ type StateOrDispatch<S = AnyState> = S | Dispatch
99
type AnyProps = { [key: string]: any }
1010

1111
export type MapToProps<P = AnyProps> = {
12+
// eslint-disable-next-line no-unused-vars
1213
(stateOrDispatch: StateOrDispatch, ownProps?: P): FixTypeLater
1314
dependsOnOwnProps?: boolean
1415
}
@@ -18,7 +19,7 @@ export function wrapMapToPropsConstant(
1819
// It seems that the dispatch argument
1920
// could be a dispatch function in some cases (ex: whenMapDispatchToPropsIsMissing)
2021
// and a state object in some others (ex: whenMapStateToPropsIsMissing)
21-
//
22+
// eslint-disable-next-line no-unused-vars
2223
getConstant: (dispatch: Dispatch) => { dispatch?: Dispatch }
2324
) {
2425
return function initConstantSelector(dispatch: Dispatch) {

0 commit comments

Comments
 (0)