<p dir="auto">It looks like the definitions for <code class="notranslate">@types/history</code> are wrong/duplicated. At the end of the file:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export interface Module {
    createHistory: CreateHistory&lt;History&gt;;
    createHashHistory: CreateHistory&lt;History&gt;;
    createMemoryHistory: CreateHistory&lt;History&gt;;
    createLocation(path?: Path, state?: LocationState, action?: Action, key?: LocationKey): Location;
    useBasename&lt;T&gt;(createHistory: CreateHistory&lt;T&gt;): CreateHistory&lt;T&gt;;
    useBeforeUnload&lt;T&gt;(createHistory: CreateHistory&lt;T&gt;): CreateHistory&lt;T &amp; HistoryBeforeUnload&gt;;
    useQueries&lt;T&gt;(createHistory: CreateHistory&lt;T&gt;): CreateHistory&lt;T &amp; HistoryQueries&gt;;
    actions: {
        PUSH: string;
        REPLACE: string;
        POP: string;
    };
}

export { default as createHistory } from &quot;history/lib/createBrowserHistory&quot;;
export { default as createHashHistory } from &quot;history/lib/createHashHistory&quot;;
export { default as createMemoryHistory } from &quot;history/lib/createMemoryHistory&quot;;
export { default as createLocation } from &quot;history/lib/createLocation&quot;;
export { default as useBasename } from &quot;history/lib/useBasename&quot;;
export { default as useBeforeUnload } from &quot;history/lib/useBeforeUnload&quot;;
export { default as useQueries } from &quot;history/lib/useQueries&quot;;
import * as Actions from &quot;history/lib/actions&quot;;
export { Actions };"><pre class="notranslate"><code class="notranslate">export interface Module {
    createHistory: CreateHistory&lt;History&gt;;
    createHashHistory: CreateHistory&lt;History&gt;;
    createMemoryHistory: CreateHistory&lt;History&gt;;
    createLocation(path?: Path, state?: LocationState, action?: Action, key?: LocationKey): Location;
    useBasename&lt;T&gt;(createHistory: CreateHistory&lt;T&gt;): CreateHistory&lt;T&gt;;
    useBeforeUnload&lt;T&gt;(createHistory: CreateHistory&lt;T&gt;): CreateHistory&lt;T &amp; HistoryBeforeUnload&gt;;
    useQueries&lt;T&gt;(createHistory: CreateHistory&lt;T&gt;): CreateHistory&lt;T &amp; HistoryQueries&gt;;
    actions: {
        PUSH: string;
        REPLACE: string;
        POP: string;
    };
}

export { default as createHistory } from "history/lib/createBrowserHistory";
export { default as createHashHistory } from "history/lib/createHashHistory";
export { default as createMemoryHistory } from "history/lib/createMemoryHistory";
export { default as createLocation } from "history/lib/createLocation";
export { default as useBasename } from "history/lib/useBasename";
export { default as useBeforeUnload } from "history/lib/useBeforeUnload";
export { default as useQueries } from "history/lib/useQueries";
import * as Actions from "history/lib/actions";
export { Actions };
</code></pre></div>
<p dir="auto">It looks like functions like <code class="notranslate">createHistory</code> are tried to exported twice, but the second way is not correct, because <code class="notranslate">history/lib/createBrowserHistory</code> is not there.</p>
<p dir="auto">My dev environment:<br>
OS X El Capitan 10.11.6<br>
MacBook Air<br>
VSC Version 1.12.2 (1.12.2)<br>
Node: v7.4.0</p>
<p dir="auto">We are trying to update our socket.io versions in our Angular app so that they match those we're using on the server. Currently, when I hover over our dependencies in our package.json file, this is what I see:</p>
<blockquote>
<p dir="auto">TypeScript definitions for socket.io<br>
Latest version: 1.4.29</p>
</blockquote>
<p dir="auto">The server socket.io version we're using is 2.0.1.</p>
<p dir="auto">Is there a timeline on having this updated to be compatible with 2.0.1?</p>