title: Property 'history' does not exist on type 'IntrinsicAttributes
body: <p>I'm wrapping react app in Router with passing createBrowserHistory prop. But getting &quot;property 'history' does not exist on type 'IntrinsicAttributes &amp; RouterPops&quot;</p>
  <p>Here is my index.tsx</p>
  <pre><code>import React from &quot;react&quot;;
  import ReactDOM from &quot;react-dom&quot;;
  import &quot;./index.css&quot;;
  import App from &quot;./App&quot;;
  import { Router } from &quot;react-router-dom&quot;;
  import history from &quot;../src/utils/history&quot;;
  
  ReactDOM.render(
      &lt;Router history={history}&gt;
      &lt;App /&gt;
    &lt;/Router&gt;,
    document.getElementById(&quot;root&quot;)
  );
  </code></pre>
  <p>Here is my history.tsx</p>
  <pre><code>import { createBrowserHistory } from &quot;history&quot;;
  
  const history = createBrowserHistory();
  
  export default history;
  </code></pre>
  <p>I'm using react-router-dom v6.0.2</p>