Type Alias InferResolvedPromisedType<PromiseT>

InferResolvedPromisedType<PromiseT>: PromiseT extends Promise<infer T>
    ? T
    : never

Infers the result of a promise

Type Parameters

  • PromiseT