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
The way how I'm doing this:
interface IOwnProps { style?: CSSProperties; } interface INavProps { item?: string; } type IProps = IOwnProps & RouteComponentProps; export default class MapScreen extends PureComponent { ... }