Page Contents

Home > @loopback/metadata > PropertyDecoratorFactory > mergeWithOwn

PropertyDecoratorFactory.mergeWithOwn() method

Signature:

protected mergeWithOwn(ownMetadata: MetadataMap<T>, target: Object, propertyName?: string, descriptorOrParameterIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T>;

Parameters

Parameter Type Description
ownMetadata MetadataMap<T>  
target Object  
propertyName string (Optional)
descriptorOrParameterIndex TypedPropertyDescriptor<any> | number (Optional)

Returns:

MetadataMap<T>