Page Contents

Home > @loopback/metadata > MethodMultiDecoratorFactory > mergeWithOwn

MethodMultiDecoratorFactory.mergeWithOwn() method

Signature:

protected mergeWithOwn(ownMetadata: MetadataMap<T[]>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;

Parameters

Parameter Type Description
ownMetadata MetadataMap<T[]>  
target Object  
methodName string (Optional)
methodDescriptor TypedPropertyDescriptor<any> | number (Optional)

Returns:

MetadataMap<T[]>