I\'m trying to use react router with TypeScript. However, I have certain problems using withRouter function. On the last line, I\'m getting pretty weird error:
A
I think it is a typescript typings compilation issue, but I've found a workaround:
interface HomeProps extends RouteComponentProps, React.Props { }