Page Contents

Home > @loopback/metadata > PropertyDecoratorFactory

PropertyDecoratorFactory class

Factory for property decorators

Signature:

export declare class PropertyDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T>, PropertyDecorator> 

Methods

Method Modifiers Description
create()    
createDecorator(key, spec, options) static Create a property decorator function
mergeWithInherited(inheritedMetadata, target, propertyName, descriptorOrIndex)    
mergeWithOwn(ownMetadata, target, propertyName, descriptorOrParameterIndex)