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