title: TypeScript build error: Build:An async function or method in ES5/ES3 requires the 'Promise' constructor
body: <p>I use VS2017 and TypeScript 2.5.3.</p>
  
  <p>The .ts code looks as following:</p>
  
  <pre><code>class LossEnergyCalculation {
  
      async initLossEnergyCalculation(): Promise&lt;void&gt; {
          try {
              const response = await fetch("/LossEnergyCalculation/GetOilFieldList");
              const oilFieldsData = await response.json();
      }
      ...
  }
  </code></pre>
  
  <p>In project's properties in TypeScript Build section I have set:</p>
  
  <pre><code>TypeScript version: 2.5
  ECMAScript version: ECMAScript 5
  JSX compilation in TSX files: None
  Module System: CommonJS
  </code></pre>
  
  <p>I don't have tsconfig.json file.</p>
  
  <p>When I build the project the following error appears:</p>
  
  <pre><code>Build:An async function or method in ES5/ES3 requires the 'Promise' constructor.  Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option.
  </code></pre>
  
  <p>How to get rid of the error?</p>