title: Use TypeScript lib.core.d.ts instead of lib.d.ts
body: <p>It seems the TypeScript compiler always includes <code>lib.d.ts</code> or <code>lib.es6.d.ts</code> (depending on the compiler target).</p>
  
  <p>In our application we have a <code>WebSocket</code> class that is already defined in <code>lib.d.ts</code>. We're running our application under Node.js and not in a web browser, so we actually don't need all of the definitions from <code>lib.d.ts</code>. Instead <code>lib.core.d.ts</code> would be sufficient for us (and would solve the <code>WebSocket</code> conflict of course).</p>
  
  <p>Is it possible to tell the TypeScript compiler which global type definition file to use?</p>