Type alias WithOrWithout<T, ToExtends, TrueType, FalseType>

WithOrWithout<T, ToExtends, TrueType, FalseType>: T extends ToExtends
    ? TrueType
    : FalseType

Type Parameters

  • T

  • ToExtends

  • TrueType

  • FalseType