Interface StaticAmendmentDecorator<TValue, TClass, TUpdate>

Static class member amendatory instance.

Type Parameters

  • TValue extends TUpdate

    Amended member value type.

  • TClass extends AmendableClass = Class

    A type of amended class.

  • TUpdate = TValue

    Amended member update type accepted by its setter.

Hierarchy

  • Applies this amendment to decorated static property.

    Type Parameters

    • TMemberValue

      Decorated property value type.

    Parameters

    • this: void
    • classConstructor: TClass

      Decorated class constructor.

    • key: string | symbol

      Decorated property key.

    • Optional descriptor: AmendablePropertyDescriptor<TMemberValue, TClass, TUpdate>

      Decorated property descriptor, or nothing when decorating a static instance field.

    Returns any

    Either nothing, or updated property descriptor.

Methods

Generated using TypeDoc