Page Contents

Home > @loopback/metadata > ParameterDecoratorFactory

ParameterDecoratorFactory class

Factory for parameter decorators

Signature:

export declare class ParameterDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T[]>, ParameterDecorator> 

Extends: DecoratorFactory<T, MetadataMap<T[]>, ParameterDecorator>

Methods

Method Modifiers Description

create()

createDecorator(key, spec, options)

static

Create a parameter decorator function

mergeWithInherited(inheritedMetadata, target, methodName, parameterIndex)

protected

mergeWithOwn(ownMetadata, target, methodName, parameterIndex)

protected