title: Problem with typescript type-checking react components that are injected with redux(mobx)
body: <p>Type-checking doesn't work on a component that is exported as injected by a store, exporting the props interface doesn't work either.</p>
  
  <pre><code>interface IProps{
      //...types here
  }
  export class TaskList extends React.Component&lt;IProps, IState&gt; {
      //...class content
  }
  
  export default compose(withNavigation, inject("store"), observer)(TaskList);
  </code></pre>
  
  <p>and then in another component, when I try and call</p>
  
  <pre><code>&lt;TaskList 
      //...props here 
  /&gt;
  </code></pre>
  
  <p>the props aren't type checked (they don't even show up on VSCode's IntelliSense) as they are in other components that are exported normally.</p>