* Gets the "awaited type" of a type. * * The "awaited type" of an expression is its "promised type" if the expression is a * Promise-like type; otherwise, it is the type of the expression. If the "promised * type" is itself a Promise-like, the "promised type" is r
(type, errorNode, diagnosticMessage, arg0)
| 81394 | * This is used to reflect the runtime behavior of the `await` keyword. |
| 81395 | */ |
| 81396 | function getAwaitedType(type, errorNode, diagnosticMessage, arg0) { |
| 81397 | var awaitedType = getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0); |
| 81398 | return awaitedType && createAwaitedTypeIfNeeded(awaitedType); |
| 81399 | } |
| 81400 | /** |
| 81401 | * Gets the "awaited type" of a type without introducing an `Awaited<T>` wrapper. |
| 81402 | * |
no test coverage detected