title: Cannot find module 'chart.js'
body: <p>I have a webapp thats running webpack, typescript and gulp. I want to use chart.js library and I have installed the chart.js npm package. I tried to define chart.js on one of the JS files and I am getting this: <code>error TS2307: Cannot find module 'chart.js'</code></p>
  
  <p>My JS file looks like this:</p>
  
  <pre><code>import Chart = require( "chart.js" );
  </code></pre>
  
  <p>tsconfig:</p>
  
  <pre><code>{
    "compilerOptions": {
      "module": "commonjs"
    },
    "files": [
      "typings/tsd.d.ts"
    ]
  }
  </code></pre>
  
  <p><strong>IMPORTANT:</strong>
  Noticed that chart.js definitions file doesnt have a proper module declaration. The left is accounting JS library which clearly defines the module and it works. Im guessing this is the issue. How do I use the declared variable or import it into another JS file?
  <a href="https://i.stack.imgur.com/Csjbc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Csjbc.png" alt="enter image description here"></a></p>