title: How to inline import another source in TypeScript
body: <p>In node.js Javascript I can do this:</p>
  
  <pre><code>class MyClass{
      data(){
          return [
              require('this-module'),
              require('another-module),
              require('that-module),
          ];
      }
  }
  </code></pre>
  
  <p>In Typescript I can write:</p>
  
  <pre><code>import * as ThisModule from 'this-module'
  import * as AnotherModule from 'another-module'
  import * as ThatModule from 'that-module'
  
  class MyClass{
      data():MyModuleTypeArray{
          return [
              ThisModule,
              AnotherModule,
              ThatModule
          ];
      }
  }
  </code></pre>
  
  <p>But in that solution I must write each name 3 times.</p>
  
  <p><strong>My question</strong>: Can I wrote the code in Typescript for inline include or in some other way in which I don't need to write 3 times the name (or to use an auxiliar variable)?</p>
  
  <p>Of course I can write <code>require</code> but <code>require</code> returns <code>any</code>. I want the type checking. </p>