How do I install typescript definitions for Electron?
<p>I have two problems:</p>

<ul>
<li>Which definitions should I install? <code>typings search electron</code> returns quite a few results.</li>
<li><p>How do I install them? <code>typings install dt~github-electron --global --save</code> gives me an error:</p>

<blockquote>
  <p>Attempted to compile "github-electron" as an external module, but it
  looks like a global module. You'll need to enable the global option to
  continue.</p>
</blockquote></li>
</ul>