title: Module '"mongoose"' has no exported member 'PaginateResult'
body: <p>I can't seem to add <code>mongoose-paginate</code> types to my <code>angular-cli</code> project setup with Angular 4. Webpack is throwing </p>
  
  <pre><code>import {PaginateResult} from "mongoose";
  
  ...
  
  getAll(page: number): Observable&lt;PaginateResult&lt;Operation&gt;&gt; {
      ...
  }
  </code></pre>
  
  <p>Ctrl-clicking <code>PaginateResult</code> in Webstorm opens the correct file definition. The types are correctly installed in the <code>node_modules/@types</code> directory (I installed them using <code>npm install --save @types/mongoose-paginate</code>).</p>
  
  <p>However, webpack is throwing:</p>
  
  <pre><code>ERROR in /Users/geoffroy/dev/git/ezvat/client4/src/app/components/operations/operation.service.ts (8,9): Module '"mongoose"' has no exported member 'PaginateResult'.
  </code></pre>
  
  <p>What is going on ?</p>