How to Unwrap Type of a Promise : <p>Say I have the following code:</p>

<pre><code>async promiseOne() {
  return 1
} // =&gt; Promise&lt;number&gt;

const promisedOne = promiseOne()

typeof promisedOne // =&gt; Promised&lt;number&gt;
</code></pre>

<p>How would I go about extracting the the type of the promise result (in this simplified case a number) as it's own type?</p>
