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<T[]> | |
target | Object | |
methodName | string | (Optional) |
parameterIndex | TypedPropertyDescriptor<any> | number | (Optional) |
Returns:
MetadataMap<T[]>