Type alias UnwrapPromise<T>

UnwrapPromise<T>: T extends Promise<infer U>
    ? U
    : T

Type Parameters

  • T

Generated using TypeDoc