title: export typescript classes and interfaces from a single file
body: <p>I want to be able to export some of my classes/interfaces/enums from other files in a single file. This is how I have done it in javascript:</p>
  
  <pre><code>module.exports = {
      Something = require("./src/something").default,
      SomethingElse = require("./src/something-else").default
  }
  </code></pre>
  
  <p>I've noticed that I do not get intellisense from my webstorm (jetbrains) editor, and I'm pretty sure that there is an easier way to implement this in typescript. I've heard and read about modules but I still don't get what they purpose is, most likely they could help me here.</p>
  
  <p>I want to be able to use this style on the library consumer:</p>
  
  <pre><code>import { Something, SomethingElse } from "my-ts-library";
  ...
  </code></pre>
  
  <p>Any ideas?</p>