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[]`.
Glossary: TypeScript Beyond the Basics
Also written: Awaited<T>
A utility type that unwraps a promise to the type `await` would give. `Awaited<Promise<Product[]>>` is `Product[]`.