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