Page Contents
Home > @loopback/metadata > MethodParameterDecoratorFactory > mergeWithInherited
MethodParameterDecoratorFactory.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[]>