title: Import assignment cannot be used when targeting ECMAScript 2015 modules
body: <p>I'm trying to use the follwing line:</p>
  
  <pre><code>import Clipboard = require('clipboard');
  </code></pre>
  
  <p>and I get the following error:</p>
  
  <pre><code>   [default] c:\xampp\htdocs\isitperfect\node_modules\angular2-clipboard\src\clipboard.directive.ts:2:0 
  Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
  </code></pre>
  
  <p>The error is in this line:</p>
  
  <pre><code>import Clipboard = require('clipboard');
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>import * as Clipboard from 'clipboard';
  </code></pre>
  
  <p>and some other variations but couldn't figure out how to fix it.</p>
  
  <p>I'm using typescript 2.0.0</p>
  
  <p>Any ideas?</p>