Type alias IfExtendsAttempt<T, A>

IfExtendsAttempt<T, A>: IfExtends<T, Attempt<any>, T, A>

Utility conditional type for attempts

Type Parameters

  • T

    Target type and conditional type if T extends Attempt

  • A

    Conditional type if T does not extends Attempt

Generated using TypeDoc