title: Where can I find types for react-router-dom Location, History and Match?
body: <p>When I use <code>withRouter</code> from <code>react-router-dom</code> v4.3.2, it passes three props to the component, <code>history</code>, <code>match</code> and <code>location</code>. Where can I find the type definition for these three objects for TypeScript?</p>
  
  <p>I have checked this link <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router/v3/lib" rel="noreferrer">https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router/v3/lib</a> but it doesn't have version 4. In addition, the type defined there doesn't include <code>History location and match</code>.</p>