Type Alias: ParameterDecorator<ClassPrototype>
ParameterDecorator<
ClassPrototype> = (target,propertyKey,parameterIndex) =>void
A parameter decorator typed by the class prototype it decorates: it receives the prototype, the method name and the position of the parameter (from 0).
Type Parameters
ClassPrototype
ClassPrototype
Parameters
target
ClassPrototype
propertyKey
string | symbol
parameterIndex
number
Returns
void