From 952fc822624eaed19a0c1df8bc18efe2ae4b90e8 Mon Sep 17 00:00:00 2001 From: Moti Lavian <7mllm7@users.noreply.github.com> Date: Tue, 31 Jul 2018 14:49:59 +0300 Subject: [PATCH] Update react-redux to support `redux`'s types More info https://github.com/DefinitelyTyped/DefinitelyTyped/issues/9611 --- types/react-redux/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/react-redux/index.d.ts b/types/react-redux/index.d.ts index 25b3ae2668..91eeea39b7 100644 --- a/types/react-redux/index.d.ts +++ b/types/react-redux/index.d.ts @@ -192,14 +192,14 @@ interface MapStateToPropsFactory { type MapStateToPropsParam = MapStateToPropsFactory | MapStateToProps | null | undefined; interface MapDispatchToPropsFunction { - (dispatch: Dispatch, ownProps: TOwnProps): TDispatchProps; + (dispatch: Dispatch, ownProps: TOwnProps): TDispatchProps; } type MapDispatchToProps = MapDispatchToPropsFunction | TDispatchProps; interface MapDispatchToPropsFactory { - (dispatch: Dispatch, ownProps: TOwnProps): MapDispatchToProps; + (dispatch: Dispatch, ownProps: TOwnProps): MapDispatchToProps; } type MapDispatchToPropsParam = MapDispatchToPropsFactory | MapDispatchToProps; @@ -267,7 +267,7 @@ export declare function connectAdvanced { - (dispatch: Dispatch, factoryOptions: TFactoryOptions): Selector + (dispatch: Dispatch, factoryOptions: TFactoryOptions): Selector } export interface Selector {