title: How to select target for a node version?
body: <p>How to know which target version of ECMAScript I can use with no errors?</p>
  
  <p>P.S. I want to use the most latest version that is supported by my node.js</p>
  
  <p>tsconfig.json</p>
  
  <pre><code>"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
  </code></pre>
  
  <p>package.json</p>
  
  <pre><code>"typescript": "^3.8.3"
  </code></pre>
  
  <p>Terminal</p>
  
  <pre><code>$ node -v
  v12.14.1
  </code></pre>