title: Access class of another module to my module typescript
body: <p>I am new to <code>TypeScript</code>. I am trying to use a class from another module in my module. how can I do it. I tried some suggestion by googling but nothing worked. any suggestion would be helpful</p>
  
  <p>I have a simple module as below in file <code>list.ts</code></p>
  
  <pre><code>export moduleTest {
  export class List&lt;T&gt; {
      }
  }
  </code></pre>
  
  <p>I am trying to access this from another file in same folder <code>initializer.ts</code></p>
  
  <pre><code>module MyModule {
  export class MyService {
      public currentCollection : List&lt;string&gt;;//getting error in this line
      }
  }
  </code></pre>
  
  <p>this throws me error that cannot find name <code>List</code></p>