Open mjaracz opened 6 years ago
from what I checked on the internet it is not a problem with the TSLINT configuration, because adding rules did not help either.
But if there is any rule for tslint, which I did not know, then please let me know ?
Just change
const mapStateToProps = (state: StoreState) => {
users: state.users
}
by
const mapStateToProps = (state: StoreState, ownProps: any) => {
...ownProps,
users: state.users
}
I have a problem with connecting a container with Redux, I don't know why my tslint returns this type of
error
[ts] Expected 1 arguments, but got 0.
my code looks like belowe
and this is my action file