Interface AmendablePropertyDescriptor<TValue, TObject, TUpdate>

A property descriptor of amendable property.

Type Parameters

  • TValue extends TUpdate

    Property value type.

  • TObject = any

    A type of the object containing the property.

  • TUpdate = TValue

    Update value type accepted by property setter.

Hierarchy

  • TypedPropertyDescriptor<TValue>
    • AmendablePropertyDescriptor

Properties

configurable?: boolean
enumerable?: boolean
get?: ((this) => TValue)

Type declaration

    • (this): TValue
    • Reads property value.

      Parameters

      • this: TObject

      Returns TValue

      Property value.

set?: ((this, update) => void) | ((this, update) => void)

Writes property value.

Param

Updated property value.

value?: TValue
writable?: boolean

Generated using TypeDoc