Page Contents

Home > @loopback/metadata > MethodDecoratorFactory > mergeWithInherited

MethodDecoratorFactory.mergeWithInherited() method

Signature:

protected mergeWithInherited(inheritedMetadata: MetadataMap<T>, target: Object, methodName?: string, methodDescriptor?: TypedPropertyDescriptor<any> | number): MetadataMap<T>;

Parameters

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

Returns:

MetadataMap<T>