Page Contents

Home > @loopback/metadata > MethodMultiDecoratorFactory > mergeWithInherited

MethodMultiDecoratorFactory.mergeWithInherited() method

Signature:

protected mergeWithInherited(inheritedMetadata: MetadataMap<T[]>, target: Object, methodName?: string): MetadataMap<T[]>;

Parameters

Parameter Type Description
inheritedMetadata MetadataMap<T[]>  
target Object  
methodName string (Optional)

Returns:

MetadataMap<T[]>