{
+ )>(component: TComponentConstruct): TComponentConstruct
}
/**
@@ -22,10 +21,10 @@ declare module "react-redux" {
* @param mergeProps
* @param options
*/
- export function connect(mapStateToProps?: MapStateToProps,
- mapDispatchToProps?: MapDispatchToPropsFunction|MapDispatchToPropsObject,
- mergeProps?: MergeProps,
- options?: Options): ClassDecorator;
+ export function connect (mapStateToProps?: MapStateToProps,
+ mapDispatchToProps?: MapDispatchToPropsFunction|MapDispatchToPropsObject,
+ mergeProps?: MergeProps,
+ options?: Options): ComponentConstructDecorator ;
interface MapStateToProps {
(state: any, ownProps?: any): any;