Project-Lavinia / Lavinia-client

React application for simulating seat distribution in an election.
https://lavinia.no
MIT License
9 stars 4 forks source link

refactor: No typing for mapStateToProps, mapDispatchToProps and casting result to any #232

Open Log234 opened 4 years ago

Log234 commented 4 years ago

Currently, the procedure for connecting connected components is largely untyped. Further more the resulting components are cast to any.

For example: connect(mapStateToProps, mapDispatchToProps)(Layout as any);