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](/doc/en/lb4/apidocs.metadata.metadatamap.html)<T> | |
| target | Object | |
| propertyName | string | _(Optional)_ |
| descriptorOrIndex | TypedPropertyDescriptor<any> \| number | _(Optional)_ |
Returns:
MetadataMap<T>