Type alias Depromisify<T>

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

Type Parameters

  • T