title: TypeScript 1.5: ES6 Module default import of CommonJS 'export =' (.d.ts only issue?)
body: <p>I'm encountering an issue with:</p>
  
  <pre><code>import moment from 'moment';
  </code></pre>
  
  <p><code>moment</code> itself is a function that is a default CommonJS export, as coded here <a href="https://github.com/borisyankov/DefinitelyTyped/blob/master/moment/moment.d.ts" rel="noreferrer">https://github.com/borisyankov/DefinitelyTyped/blob/master/moment/moment.d.ts</a>:</p>
  
  <pre><code>interface MomentStatic {
      (): Moment;
      (date: number): Moment;
      ...
  }
  declare var moment: moment.MomentStatic;
  declare module 'moment' {
      export = moment;
  }
  </code></pre>
  
  <p>The following do not seem to work:</p>
  
  <pre><code>import * from 'moment';
  // error TS1005: 'as' expected.
  // error TS1005: 'from' expected.
  
  import moment from 'moment';
  // error TS1192: External module ''moment'' has no default export.
  
  import {default as moment} from 'moment';
  // error TS2305: Module ''moment'' has no exported member 'default'.
  </code></pre>
  
  <p>The require syntax still works... but I'm trying to avoid that.</p>
  
  <pre><code>import moment = require('moment');
  </code></pre>
  
  <p>Thoughts?</p>