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