title: Typescript export from folder using index.ts file throws error TS2307
body: <p>I have Scene.ts file, which imports files from Objects folder</p>
  
  <pre><code>import { Camera, Plane, Cube } from './Objects';
  </code></pre>
  
  <p>In objects folder i have 4 files: </p>
  
  <ol>
  <li>Camera.ts</li>
  <li>Plane.ts</li>
  <li>Cube.ts</li>
  <li>index.ts</li>
  </ol>
  
  <p>All four files has similar structure</p>
  
  <pre><code>import SceneRenderer from './../SceneRenderer'
  
  export default class Plane/Cube/Camera implements SceneRenderer {
  
      constructor(public gl:WebGLRenderingContext) {
  
      }
  
      draw() {
  
      }
  
  }
  </code></pre>
  
  <p>index.ts file exports all classes from others</p>
  
  <pre><code>export { default as Plane } from './Plane';
  export { default as Camera } from './Camera';
  export { default as Cube } from './Cube';
  </code></pre>
  
  <p>In <strong>src</strong> folder i have file <strong>Scene.ts</strong> file which import all of them:</p>
  
  <pre><code>import { Camera, Plane, Cube } from './Objects';
  </code></pre>
  
  <p><strong>PROBLEM</strong></p>
  
  <blockquote>
    <p>src/Scene.ts:1:37 - error TS2307: Cannot find module './Objects'.</p>
  </blockquote>
  
  <p>What is wrong?!</p>
  
  <p>source code you can find <a href="https://github.com/aliskhanoff/TestTask" rel="nofollow noreferrer">here</a></p>