title: Type 'Promise<number>' is not assignable to type 'number'
body: <p>I'm trying to return number from a promise: the function <code>getActualId</code> call from <code>chrome.local.storage</code> and returns a promise:</p>
  
  <pre><code>function getActualId(){
      return new Promise(function (resolve) {
          chrome.storage.sync.get({
              userId: true
          }, function (userId) {
              resolve(userId.userId);
          });
      });
  }
  </code></pre>
  
  <p>this function gets the right value but when I call it from another function I keep getting the the <code>getId</code> function return a <code>Promise&lt;number&gt;</code> and not a promise.</p>
  
  <pre><code>async function getId(){
      let id:number = 0;
      await getActualId().then( function(userid:number){
          id =  userid;
      })
      return id
  }
  </code></pre>
  
  <p>How can I get the real value of <code>id</code> from <code>getId</code> and not a <code>promise&lt;number&gt;</code>?</p>