Add test for undefined mapStateToProps

This commit is contained in:
Patrick Lee
2017-02-14 14:25:32 -06:00
parent 18c357d03c
commit c2d6379c7c
+3 -2
View File
@@ -258,8 +258,9 @@ function mergeProps(stateProps: TodoState, dispatchProps: DispatchProps, ownProp
connect(mapStateToProps2, actionCreators, mergeProps)(TodoApp);
//https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14622#issuecomment-279820358
//Allow for undefined mapStateToProps
connect(undefined, mapDispatchToProps6)(TodoApp);
interface TestProp {
property1: number;