title: recommended typescript config for node 8
body: <p>What is the recommended config for typescript if I want to ue the compiled sources with node 8?</p>
  
  <p>most tutorials use the following <em>tsconig.json</em>:</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "es6",
      "module": "commonjs"
    }
  }
  </code></pre>
  
  <p>But now I figured out, that not all available features are supported. For example <code>['foo'].includes('bar')</code> throws the error: <em>Property 'includes' does not exist on type 'string[]'.</em></p>
  
  <p>I found an <a href="https://github.com/gdi2290/angular-starter/issues/931" rel="noreferrer">issue</a> that addresses this problem. The solution is to use the lib <code>es7</code>.
  I could overwrite the default libs: <code>"lib": ["es7"]</code></p>
  
  <p>But I'm not sure if this is the best config for node 8 - are there more features which are not supported by that lib? are there to much features defined?</p>
  
  <p>So my question is: What are the best configurations for <code>target</code>, <code>lib</code> and <code>module</code> if I want to use node 8?</p>