Recursively resolves all nested Promise types to their underlying value. Useful when dealing with complex, deeply nested promise chains.
Promise
type A = Promise<Promise<Promise<string>>>;type B = DeepAwaited<A>; // Result: string Copy
type A = Promise<Promise<Promise<string>>>;type B = DeepAwaited<A>; // Result: string
Recursively resolves all nested
Promise
types to their underlying value. Useful when dealing with complex, deeply nested promise chains.