fix App dispatch typings

This commit is contained in:
crptm 2017-05-24 03:22:06 +04:00
parent fe8da56fec
commit ca889ce874
1 changed files with 3 additions and 2 deletions

View File

@ -77,10 +77,11 @@ function mapStateToProps(state) {
function mapDispatchToProps(dispatch) { function mapDispatchToProps(dispatch) {
return { return {
changeNode: (i: number) => { // FIXME replace with actual types
changeNode: (i: any) => {
dispatch(CHANGE_NODE(i)); dispatch(CHANGE_NODE(i));
}, },
changeLanguage: (i: number) => { changeLanguage: (i: any) => {
dispatch(CHANGE_LANGUAGE(i)); dispatch(CHANGE_LANGUAGE(i));
} }
}; };