title: Is it possible to import a generic promise in typescript?
body: <p>I'd like to import PromiseT from sequelize.  I currently have this import statement:</p>
  
  <pre><code>import { sequelize, Instance, Model, DataTypes, Base } from './sequelize';
  </code></pre>
  
  <p>I found that this doesn't work:</p>
  
  <pre><code>let p: sequelize.PromiseT&lt;MyModel[]&gt;;
  </code></pre>
  
  <p>I can import the entire package:</p>
  
  <pre><code>import s = require('sequelize');
  let p: s.PromiseT&lt;UserInstance[]&gt;;
  </code></pre>
  
  <p>Is there syntax to just import PromiseT?  Here is the relevant decls from sequelize.d.ts:</p>
  
  <pre><code>declare module "sequelize"
  {
      ...
      module sequelize {
          ...
          interface PromiseT&lt;T&gt; extends Promise { ...  };
          ...
     }
  
      var sequelize: sequelize.SequelizeStatic;
  
      export = sequelize;
  }
  </code></pre>
  
  <p>Thanks!</p>