title: Shorthand to export all definitions from a module in Typescript
body: <p>I was wondering if there is a shorthand for exporting all definitions in a module. No way to do that is suggested in the docs. I am looking for something like <code>export*</code> for exporting all definitions in the module.</p>
  
  <pre><code>/* this is one way according to docs*/
  //module1 
  const foo = () =&gt; {console.log('function foo')}
  const bar = () =&gt; {console.log('function bar')}
  export {foo, bar} 
  
  // module2
  import * as m1 from './module1'
  m1.foo() 
  m1.bar()
  
  /* this is another way according to docs*/
  // module1
  export const foo = () =&gt; {console.log('function foo')}
  export const bar = () =&gt; {console.log('function bar')}
  
  // module2
  import * as m1 from './module1'
  m1.foo() 
  m1.bar()
  
  /* looking for something like this */
  // module1
  const foo = () =&gt; {console.log('function foo')}
  const bar = () =&gt; {console.log('function bar')}
  export * // looking for something like this
  
  // module2
  import * as m1 from './module1'
  m1.foo() //doesn't work 
  m1.bar() // doesn't work
  </code></pre>