• @Else decorator is an always executed conditionnal decorator.

    Type Parameters

    • This
    • Target
    • Value

    Parameters

    • Optionalthen: Primitive<Target>
    • Optionalargs: ((curr: This) => any[])
        • (curr): any[]
        • Parameters

          Returns any[]

    Returns DecoratorType<This, Value>