Closed virzak closed 6 years ago
The problem is with compose function from redux. Just past these tests and see that const t7 is failing under Typescript 2.6.
The band-aid solution is to add as any if anyone interested
<Route exact path='/' component={ Home } />
<Route path='/counter' component={Counter as any } />
<Route path='/fetchdata/:startDateIndex?' component={ FetchData as any } />
This problem will no longer be applicable in the next version of the ReactRedux template (it's based on create-react-app). In effect it's fixed, so I'll close this.
For anyone needing to update apps created with the 2.0.x SDK, please see @virzak's comment.
typescript 2.6 has long awaited // #region support, but as soon as the upgrade is made, errors occur in the unmodified template.
Most are easy to fix, but is there a quick fix for this one?