<p dir="auto"><code class="notranslate">"@types/react": "16.7.13"</code> works.<br>
<code class="notranslate">"@types/react": "16.7.14"</code> and <code class="notranslate">"@types/react": "16.7.18"</code> (latest) throws this error.</p>
<p dir="auto">Using <code class="notranslate">"typescript": "3.2.2"</code>.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest <code class="notranslate">react-router/index.d.ts</code> file in this repo and had problems.</li>
<li>[ x] I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.  (Please ask any appropriate questions there).</li>
<li>[ x] I want to talk about <code class="notranslate">react-router/index.d.ts</code> and <code class="notranslate">history.d.ts</code>.
<ul dir="auto">
<li>The authors of that type definition are cc/ <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ngbrown/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ngbrown">@ngbrown</a><br>
Sergey Buturlakin <a href="https://github.com/sergey-buturlakin">https://github.com/sergey-buturlakin</a>, Yuichi Murata <a href="https://github.com/mrk21">https://github.com/mrk21</a>, Václav Ostrožlík <a href="https://github.com/vasek17">https://github.com/vasek17</a>, Nathan Brown <a href="https://github.com/ngbrown">https://github.com/ngbrown</a></li>
</ul>
</li>
</ul>
<p dir="auto">When I install react-router I get the following errors</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(32,22): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(111,30): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(211,31): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'."><pre class="notranslate"><code class="notranslate">ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(32,22): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(111,30): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.

ERROR in /Projects/REACT/rangle/typescript-react-redux-starter/typings/browser/ambient/react-router/index.d.ts
(211,31): error TS2305: Module 'HistoryModule' has no exported member 'LocationDescriptor'.
</code></pre></div>
<p dir="auto">Steps to reproduce</p>
<p dir="auto">Clone <a href="https://github.com/rangle/typescript-react-redux-starter">https://github.com/rangle/typescript-react-redux-starter</a> and get it running, i.e. npm install; npm run dev<br>
run node_modules/typings/dest/bin.js install react-router --ambient --save<br>
run npm run dev</p>
<p dir="auto">Expected Behavior<br>
Typings throw no errors</p>
<p dir="auto">Actual Behavior<br>
Typings compilation throws three errors</p>
<p dir="auto">I can see from the code that history.d.ts doesn't export the LocationDescriptor type, but it's used in the react-router type definition.</p>