title: TypeScript "use"/alias for Classes
body: <p>Is there a way to do an alias or "use" (like PHP) for a TypeScript class/module.</p>
  
  <p>Example:</p>
  
  <p>If I have:</p>
  
  <pre><code>module Foo {
      class Bar {}
  }
  </code></pre>
  
  <p>Normally I have to write <code>Foo.Bar</code> to use it outside of the module. Is there a way I can alias that to something else, like "FooBar".</p>
  
  <p>This would be really useful if you have several submodules (which my current project does), like:</p>
  
  <p>module A.B.C.D {
         export class E {}
     }</p>
  
  <p>is normally <code>A.B.C.D.E</code> which is silly.</p>