• Creates an amendment (and decorator) of component member that shares its value.

    Applies current component context to sharer-aware values.

    Returns

    New shared member amendment.

    Type Parameters

    • T

      Shared value type.

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

      A type of decorated component class.

    • TAmended extends AeShared<T, TClass, TAmended> = AeShared<T, TClass>

    Parameters

    • share: TargetShare<T>

      Target component share.

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

      Amendments to apply.

    Returns SharedAmendment<T, TClass, TAmended>

Generated using TypeDoc