title: typescript importing/exporting objects and spreading
body: <p>I've been using TS for over a year and I still run into some confusion about importing and exporting. Why can't I spread an object I imported into the export object?</p>
  
  <pre><code>/// file1
  export {
    PORT,
    SSL_CRT,
    SSL_KEY,
  }
  </code></pre>
  
  <pre><code>// file2
  import * as env from 'file1'
  // env.PORT is available at this point
  export {
     ...env  // [ts] Identifier expected. [1003] 
  }
  </code></pre>
  
  <p>I resolve this issue with the following but I know its not the same nor what I want.</p>
  
  <pre><code>// file2
  import * as env from 'file1'
  export default {
     ...env  // [ts] Identifier expected. [1003] 
  }
  </code></pre>