mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add test for undefined mapStateToProps
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user