title: Why does this promise resolve when I am not awaiting it
body: <p>I have the following promise, but it seems to resolve without me even awaiting it if I run this code in ts playground.</p>
  <pre><code>const promises = [later(1000)];
  
  
  function later(delay:number) {
      return new Promise&lt;void&gt;(function(resolve) {
          setTimeout(() =&gt; {
            console.log('test');
            resolve();
          }, delay);
      });
  }
  </code></pre>
  <p>I only want it to execute when I call</p>
  <pre><code>await Promise.all(promises);
  </code></pre>