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  
descriptorOrIndex TypedPropertyDescriptor<any> | number  

Returns:

T