PromiseReturnType<T>: PromiseType<ReturnType<T>>

Get the return type of a function which returns a Promise.

Type Parameters