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