title: Generic parameter 'T' could not be inferred - Swift 5.5
body: <p>I'm trying to get the user sign in and I'm getting the following error:</p>
  <pre><code>Generic parameter 'T' could not be inferred
  </code></pre>
  <p>This is the code:</p>
  <pre><code>// Gets User signed-in
  func getUser() async throws -&gt; AuthUser {
      do {
          try await withUnsafeThrowingContinuation { continuation in
              if let user = Amplify.Auth.getCurrentUser() {
                  continuation.resume(returning: user )
              }
          }
      } catch(let error) {
          print(error)
      }
  }
  </code></pre>
  <p>Why is that?</p>