title: How to install typings of discord.js for typescript?
body: <p>Im new to typescript, I found out that to use the npm packages, I first need to install its typings for it such as</p>
  <pre><code>npm install --save @types/node-schedule
  </code></pre>
  <p>however im using discord.js too, but this doesnt work</p>
  <pre><code>import * as Discord from 'discord.js';
  </code></pre>
  <p>then</p>
  <pre><code>npm install --save @types/discord.js
  
  npm ERR! code E404
  npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fdiscord.js - Not found
  npm ERR! 404
  npm ERR! 404  '@types/discord.js@latest' is not in the npm registry.
  npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
  npm ERR! 404
  npm ERR! 404 Note that you can also install from a
  npm ERR! 404 tarball, folder, http url, or git url.
  </code></pre>
  <p>how can I fix this?</p>