Function amendStaticOf

  • Amends a static member (static property) of the class.

    Applies the given amendments to the own property of the target class constructor.

    Type Parameters

    • TClass extends AmendableClass<any, TClass>

      A type of amended class.

    • TKey extends string | number | symbol = keyof TClass

      A type of amended static member key.

    • TAmended extends AeStatic<TClass[TKey], TClass, TClass[TKey], TAmended> = AeStatic<TClass[TKey], TClass, TClass[TKey]>

      A type of the entity representing a static member to amend.

    Parameters

    • decorated: DecoratedAeStatic<TClass, TAmended>

      Decorated class representation.

    • memberKey: TKey

      A key of the member to amend.

    • Rest ...amendments: Amendment<TAmended & AeStatic<TClass[TKey], TClass, TClass[TKey]>>[]

      Amendment to apply.

    Returns void

Generated using TypeDoc