title: TypeScript compiler produce "ReferenceError: setTimeout is not defined" In IntelliJ
body: <p>Using IntelliJ (I guess it's also relevant for WebStorm).</p>
  
  <p>Change TypeScript compiler to 2.1.4: <br>
  Settings --> TypeScript -->Edit (Compiler Version) --> Selected the typescript/lib directory npm has installed</p>
  
  <p>On the "TypeScript Compiler" Window got:</p>
  
  <blockquote>
    <p>Error:Cannot start compiler process:  ReferenceError: setTimeout is
    not defined</p>
  </blockquote>
  
  <p>When I try to compile in console using <code>tsc</code> I get a legit compilation errors.</p>
  
  <p>How can I get those compilation errors also in IntelliJ "TypeScript Compiler" Window?</p>