<p dir="auto">The ES7 proposal is available at: <a href="https://github.com/leebyron/ecmascript-more-export-from">https://github.com/leebyron/ecmascript-more-export-from</a></p>
<p dir="auto">The additions include:</p>
<p dir="auto">reexporting default:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// proposed:
export v from &quot;mod&quot;;

// symmetric to:
import v from &quot;mod&quot;;
export {v};"><pre class="notranslate"><span class="pl-c">// proposed:</span>
<span class="pl-k">export</span> <span class="pl-s1">v</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span>

<span class="pl-c">// symmetric to:</span>
<span class="pl-k">import</span> <span class="pl-s1">v</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span><span class="pl-s1">v</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">reexporting as sub-module:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// proposed:
export * as ns from &quot;mod&quot;;

// symmetric to:
import * as ns from &quot;mod&quot;;
export {ns};"><pre class="notranslate"><span class="pl-c">// proposed:</span>
<span class="pl-k">export</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span>

<span class="pl-c">// symmetric to:</span>
<span class="pl-k">import</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span><span class="pl-kos">;</span>
<span class="pl-k">export</span> <span class="pl-kos">{</span><span class="pl-s1">ns</span><span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">also allowing combining</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// proposed
export v, {x, y as w} from &quot;mod&quot;
// symmetric to
import v, {x, y as w} from &quot;mod&quot;
As well as

// proposed
export v, * as ns from &quot;mod&quot;
// symmetric to
import v, * as ns from &quot;mod&quot;"><pre class="notranslate"><span class="pl-c">// proposed</span>
<span class="pl-s1">export</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>x<span class="pl-kos">,</span> y <span class="pl-s1">as</span> <span class="pl-s1">w</span><span class="pl-kos">}</span> <span class="pl-s1">from</span> <span class="pl-s">"mod"</span>
<span class="pl-c">// symmetric to</span>
<span class="pl-k">import</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-s1">x</span><span class="pl-kos">,</span> <span class="pl-s1">y</span> <span class="pl-k">as</span> <span class="pl-s1">w</span><span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span>
<span class="pl-smi">As</span> <span class="pl-s1">well</span> <span class="pl-k">as</span>

<span class="pl-c">// proposed</span>
<span class="pl-smi">export</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-s1">from</span> <span class="pl-s">"mod"</span>
<span class="pl-c">// symmetric to</span>
<span class="pl-k">import</span> <span class="pl-s1">v</span><span class="pl-kos">,</span> <span class="pl-c1">*</span> <span class="pl-k">as</span> <span class="pl-s1">ns</span> <span class="pl-k">from</span> <span class="pl-s">"mod"</span></pre></div>
<p dir="auto">Looking at history : <a href="https://github.com/Microsoft/TypeScript/commits/master/bin/lib.d.ts">https://github.com/Microsoft/TypeScript/commits/master/bin/lib.d.ts</a></p>
<p dir="auto">Was there on April 11 : <a href="https://github.com/Microsoft/TypeScript/blob/6f1feffe6710a3201fb46a0b01e16051bfc18a29/bin/lib.d.ts#L1689">https://github.com/Microsoft/TypeScript/blob/6f1feffe6710a3201fb46a0b01e16051bfc18a29/bin/lib.d.ts#L1689</a></p>
<p dir="auto">Isn't there on April 18: <a href="https://github.com/Microsoft/TypeScript/blob/b8ebf561f94ea27ecfc6af3c2b20661e6fcd79ed/bin/lib.d.ts">https://github.com/Microsoft/TypeScript/blob/b8ebf561f94ea27ecfc6af3c2b20661e6fcd79ed/bin/lib.d.ts</a></p>
<p dir="auto">Report by Atom-TypeScript user <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vaughnroyko/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/vaughnroyko">@vaughnroyko</a></p>
<p dir="auto">The following code now fails (source from : <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView</a>):</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var littleEndian = (function() {
  var buffer = new ArrayBuffer(2);
  new DataView(buffer).setInt16(0, 256, true);
  return new Int16Array(buffer)[0] === 256;
})();
console.log(littleEndian); // true or false"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">littleEndian</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-k">var</span> <span class="pl-s1">buffer</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-smi">ArrayBuffer</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-k">new</span> <span class="pl-smi">DataView</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">setInt16</span><span class="pl-kos">(</span><span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">256</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-k">return</span> <span class="pl-k">new</span> <span class="pl-smi">Int16Array</span><span class="pl-kos">(</span><span class="pl-s1">buffer</span><span class="pl-kos">)</span><span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span> <span class="pl-c1">===</span> <span class="pl-c1">256</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">littleEndian</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// true or false</span></pre></div>