Function accessorAlias

  • A decorator for a public field which is an alias for another field.

    Parameters

    • fieldName: string | symbol

      The name of the field to create an alias for.

    Returns PropertyDecorator