title: use fuse.js in Angular 2 application (typescript)
body: <p>I tried to import fuse.js in a angular2 app, but I get an exception (Fuse is not defined). 
  I also check definitions file (index.d.ts)  in the package.</p>
  
  <p>my class in typescript is :</p>
  
  <pre><code>import 'fuse.js';
  
  export class Myclass{
  
    /**some code*/
  
    public mySearchFunction(text, list, Opts){
      let fuseSearch  = new Fuse(list, Opts);
      let fuseResults: any[] = fuseSearch.search(text);
      return fuseResults
    }
  
  }
  </code></pre>
  
  <p>I tried also with</p>
  
  <pre><code>import * as Fuse from 'fuse.js';
  </code></pre>
  
  <p>What is the right way to use this library? </p>