title: How do I import Request/Response when using the fetch API?
body: <p>I see the following in my <code>package.json</code> so I'm going to assume that it provides what I need.</p>
  
  <p><code>"@types/whatwg-fetch": "0.0.27",</code></p>
  
  <p>The classes I need seem to be <code>Request</code> and <code>Respsonse</code>. I tried this, but Intellij says it's wrong, and so does the webpack server</p>
  
  <pre><code>import { Request, Response } from 'whatwg-fetch';
  </code></pre>
  
  <p>the error from the webpack dev server</p>
  
  <pre><code>File '/home/xenoterracide/IdeaProjects/rpf-ui/node_modules/@types/whatwg-fetch/index.d.ts' is not a module.
  </code></pre>
  
  <p>and yet</p>
  
  <pre><code>stat /home/xenoterracide/IdeaProjects/rpf-ui/node_modules/@types/whatwg-fetch/index.d.ts
    File: '/home/xenoterracide/IdeaProjects/rpf-ui/node_modules/@types/whatwg-fetch/index.d.ts'
    Size: 2662            Blocks: 8          IO Block: 4096   regular file
  Device: fe00h/65024d    Inode: 7750050     Links: 1
  Access: (0644/-rw-r--r--)  Uid: ( 1000/xenoterracide)   Gid: ( 1000/xenoterracide)
  Access: 2016-08-08 19:18:56.205552681 -0500
  Modify: 2016-07-14 08:52:54.000000000 -0500
  Change: 2016-08-08 19:17:19.288571256 -0500
   Birth: -
  </code></pre>
  
  <p>How can I import these classes?</p>