title: Export 'default' using index.ts
body: <p>I've got the following project structure:</p>
  
  <pre><code>build/
      build.ts
  config/
      config.ts
      index.ts
  ...
  </code></pre>
  
  <p>The <code>config.ts</code> contains a default exported type like this:</p>
  
  <pre><code>export default {
      myProp: {
          someProp: "someValue"
      }
  }
  </code></pre>
  
  <p>And the <code>index.ts</code> within <code>config/</code> looks like this:</p>
  
  <pre><code>export * from './config';
  </code></pre>
  
  <p>Now I'd like to import the config type within <code>build.ts</code> like this:</p>
  
  <pre><code>import config from '../config';
  </code></pre>
  
  <p>But when using it (e.g. with <code>config.myProp</code>), it tells me that <code>myProp</code> doesn't exist on <code>index.ts</code>.</p>
  
  <p>According to the official module documentation <a href="https://www.typescriptlang.org/docs/handbook/modules.html" rel="noreferrer">here</a>, this should work perfectly fine. Am I missing something here?</p>