title: Cannot re-export a type when using the --isolatedModules with TS 3.2.2
body: <p>I probably need to rethink the way we structure our React components. We are using the latest react-scripts that allow Typescript to be used and by default, the <code>isolatedModules</code> is being enabled which currently bugs me a bit.</p>
  
  <p>We used to structure a component like this:</p>
  
  <pre><code>Component
  |_ Component.tsx
  |_ index.ts
  |_ types.ts
  </code></pre>
  
  <ul>
  <li><code>Component.tsx</code> holds the actual component without declarations</li>
  <li><p><code>index.ts</code> is just re-exporting everything so we can have a singular entry point and can do something like <code>import Component, { ComponentType } from '@/Component';</code></p></li>
  <li><p><code>types.ts</code> holds the actual type definitions and exports most or all of them.</p></li>
  </ul>
  
  <p>So far so good and that works without the <code>isolatedModules</code>. However, we also export some of the type definitions, effectively re-exporting the interfaces that were specified within <code>Component/types.ts</code>. This won't work as TypeScript itself would not transpile the code any longer.</p>
  
  <p>How can I re-export this without having a separate import statement going to <code>@/Component/types</code> (which might be actual the simpler way anyway)?</p>