title: How to import all classes in one file and use them from there typescript
body: <p>For example, I have a class <strong><code>A.ts</code></strong></p>
  
  <pre><code>export class A(){
      public constructor() {}
      public method() : string {
           return "hello from A";
      }
  }
  </code></pre>
  
  <p>and class <strong><code>B.ts</code></strong></p>
  
  <pre><code>export class B(){
      public constructor() {}
  
      public method() : string {
           return "hello from B";
      }
  
      public static methodStatic() : string {
          return "hello from static B";
      }
  }
  </code></pre>
  
  <p>then I want to import all of them in ONE file Headers.ts</p>
  
  <pre><code>imports {A} from    "../A_path";
  imports * as b from "../B_path";
  
  //Or just to export it? Make it public.
  export * from "../A_path";
  export * from "../B_path";
  </code></pre>
  
  <p>Headers.ts will contain only <code>imports/exports</code>, no class implementation or any other code.
  And then my problem: I want to use <strong><code>A</code></strong> and <strong><code>B</code></strong> classes in app.ts calling them over <strong><code>Headers.ts</code></strong> file.</p>
  
  <pre><code>import * as headers from './HEADERS_path';
  headers.A.method();
  headers.B.method();
  </code></pre>
  
  <p>how to do this?</p>