title: How to declare TypeScript import * type?
body: <p>How can I explicitly declare type at import * as ... in TypeScript?</p>
  
  <p>I'm having this code:</p>
  
  <pre><code>import * as UnauthorizedInterface from './interfaces/InterfaceA'
  import * as AuthorizedInterface from './interfaces/InterfaceB'
  
  export class App extends React.Component&lt;{children?: React.ReactChildren, authorized?: Boolean}, {}&gt; {
  public render() {
      return &lt;Router&gt;
          &lt;Route component={Interface}&gt;
              &lt;Route path="/application" components={InterfaceA}
  ...
  </code></pre>
  
  <p>and I'm getting </p>
  
  <pre><code>ERROR in ./src/components/App.tsx
  (16,24): error TS2322: Type 'typeof "~/src/interfaces/InterfaceA"'' is not assignable to type '{ [key: string]: string | ComponentClass&lt;any&gt; | StatelessComponent&lt;any&gt;; }'.
  Index signature is missing in type 'typeof "~/src/interfaces/InterfaceA"'.
  </code></pre>
  
  <p>though it's only exporting entities extending React.ComponentClass </p>