<p dir="auto">I started trying to use VSCode with ES6 and I'm running into this. Changing the declaration to <code class="notranslate">import * as  path from 'path'</code> for example works for intellisense, but then babel's transpiled output is invalid. Is there a plan to switch to the current syntax? If not, could anyone point me to some instructions on how to modify the d.ts files to work in this case?</p>
<p dir="auto">I try to do this:<br>
<code class="notranslate">import React, {Component} from 'react';</code></p>
<p dir="auto">But I don't know how to define the <code class="notranslate">react.d.ts</code> to support this valid ES6 behavior.</p>
<p dir="auto">The compiler produces this error:<br>
<code class="notranslate">error TS1192: Module '"react"' has no default export.</code></p>