diff --git a/types/react-redux/react-redux-tests.tsx b/types/react-redux/react-redux-tests.tsx
index e369003434..147a800d67 100644
--- a/types/react-redux/react-redux-tests.tsx
+++ b/types/react-redux/react-redux-tests.tsx
@@ -569,3 +569,25 @@ namespace TestDispatchToPropsAsObject {
const Header = connect(mapStateToProps, dispatchToProps)(HeaderComponent);
}
+
+namespace TestWrappedComponent {
+ type InnerProps = {
+ name: string,
+ };
+ const Inner: React.StatelessComponent = (props) => {
+ return {props.name}
;
+ }
+
+ const mapStateToProps = (state: any) => {
+ return {
+ name: "Connected",
+ };
+ };
+ const Connected = connect(mapStateToProps)(Inner);
+
+ // `Inner` and `Connected.WrappedComponent` require explicit `name` prop
+ const TestInner = (props: any) => ;
+ const TestWrapped = (props: any) => ;
+ // `Connected` does not require explicit `name` prop
+ const TestConnected = (props: any) => ;
+}