Function AeMember

  • Creates an amendment (and decorator) for the class instance member.

    Type Parameters

    • TValue

      Amended member value type.

    • TClass extends AmendableClass<any, TClass> = Class<any>

      A type of amended class.

    • TUpdate = TValue

      Amended member update type accepted by its setter.

    • TAmended extends AeMember<TValue, TClass, TUpdate, TAmended> = AeMember<TValue, TClass, TUpdate>

      A type of the entity representing a member to amend.

    Parameters

    • Rest ...amendments: Amendment<TAmended>[]

      Amendments to apply.

    Returns MemberAmendment<TValue, TClass, TUpdate, TAmended>

    New class member amendment instance.

Generated using TypeDoc