Page Contents
Home > @loopback/metadata > ParameterDecoratorFactory > mergeWithInherited
ParameterDecoratorFactory.mergeWithInherited() method
Signature:
protected mergeWithInherited(inheritedMetadata: MetadataMap<T[]>, target: Object, methodName?: string, parameterIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T[]>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| inheritedMetadata | [MetadataMap](/doc/en/lb4/apidocs.metadata.metadatamap.html)<T\[\]> | |
| target | Object | |
| methodName | string | _(Optional)_ |
| parameterIndex | TypedPropertyDescriptor<any> \| number | _(Optional)_ |
Returns:
MetadataMap<T[]>