• Generic decorator factory with basic default algorithm that exposes the field value directly with no other processing. If the property name ends with "Text" then the property will use getText()/setText()

    Returns

    a decorator that returns a property descriptor to be used with Object.defineProperty

    Type Parameters

    Parameters

    • target: T
    • propertyKey: string

    Returns any

Generated using TypeDoc