Skip to content

Glossary: TypeScript Beyond the Basics

Awaited

Also written: Awaited<T>

A utility type that unwraps a promise to the type `await` would give. `Awaited<Promise<Product[]>>` is `Product[]`.

Where the book teaches it

Related terms

ReturnTypeUtility typeinfer