Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packages/router: fix TS ERROR when use <Route/> (#1355)
an TS ERROR would be thrown when using <Route component={Compo}/>. Component defaultProps should have same type as ComponentType and ComponentClass.
- Loading branch information