Typescript Auth0 module
<p>I have the following .d.ts file (extract of it)</p>

<pre><code>declare const Auth0: Auth0Static;

declare module "auth0-js" {
    export = Auth0
}
</code></pre>

<p>Now in my .ts file I am using the following</p>

<pre><code>import { Auth0 } from 'auth0-js';
</code></pre>

<p>I get the following error </p>

<p><strong>auth0-js has no exported member Auth0</strong></p>

<p>Whats going wrong here?</p>