title: How to make a module discoverable using index.ts?
body: <p>I'm trying typescript in my project and in my earlier projects, if I've a <code>React</code> component then I'll make my project structure as :</p>
  
  <pre><code>componentDir/
      Component.js
      index.js
  </code></pre>
  
  <p>Where my <code>index.js</code> would contain the contents as :</p>
  
  <pre><code>import Component from './Component';
  
  export default Component;
  </code></pre>
  
  <p>I'd use this component (or any module with <code>index</code> file) anywhere as :</p>
  
  <pre><code>import Component from './componentDir';
  </code></pre>
  
  <p>How can I achieve similar thing with TypeScript?</p>