Page Contents
Home > @loopback/metadata > PropertyDecoratorFactory > mergeWithInherited
PropertyDecoratorFactory.mergeWithInherited() method
Signature:
protected mergeWithInherited(inheritedMetadata: MetadataMap<T>, target: Object, propertyName?: string, descriptorOrIndex?: TypedPropertyDescriptor<any> | number): MetadataMap<T>;
Parameters
| Parameter | Type | Description |
|---|---|---|
|
inheritedMetadata |
MetadataMap<T> | |
|
target |
Object | |
|
propertyName |
string |
(Optional) |
|
descriptorOrIndex |
TypedPropertyDescriptor<any> | number |
(Optional) |
Returns:
MetadataMap<T>