title: Import matter-js in typescript project
body: <p>I found this file : </p>
  
  <p><a href="https://www.npmjs.com/package/@types/matter-js" rel="noreferrer">https://www.npmjs.com/package/@types/matter-js</a></p>
  
  <p>i execute this line : </p>
  
  <p>npm install --save @types/matter-js</p>
  
  <p>In root ts file i got error message : </p>
  
  <blockquote>
    <p>'Matter' refers to a UMD global, but the current file is a module.
    Consider adding an import instead.</p>
  </blockquote>
  
  <p>Code looks like : </p>
  
  <pre><code>///&lt;reference path="matter-js.d.ts"/&gt;
  
  import Ioc from "./libs/ioc";
  let master = new Ioc();
  console.log(master);
  console.log(Matter);
  </code></pre>
  
  <p>Error in browser: </p>
  
  <blockquote>
    <p>app.ts:11 Uncaught ReferenceError: Matter is not defined</p>
  </blockquote>
  
  <p>Did i need to load matter-js.js lib ?</p>
  
  <p>If i put  : </p>
  
  <pre><code>import matter from 'matter-js'
  </code></pre>
  
  <p>i get : </p>
  
  <blockquote>
    <p>Module ''matter-js'' has no default export.</p>
  </blockquote>