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