How to import the type-definition in typescript?
<p>I tried use the type-definition for hammerjs. As:</p>

<pre><code>import Hammer from 'hammerjs';
</code></pre>

<p>But i get this error:</p>

<blockquote>
  <p>Error TS2307: Cannot find module 'hammerjs'</p>
</blockquote>

<p>I have two question. First, is necessary get all files of tile definition in github, our i can get the simples definition for hammerjs?</p>

<p>My package.json contains:</p>

<pre><code>"dependencies": {
   "git+https://git@github.com/DefinitelyTyped/DefinitelyTyped.git"
}
</code></pre>

<p>The second question, whats my error about import module? </p>