Function order

  • Specifies the order of a field or a property relative to other fields/properties in the same type. The order determines in what order are fields listed for serialization or inspection purposes.

    Parameters

    • index: number

    Returns AttributeDecorator<Attribute>