Function: decorate()
See
Call Signature
ts
function decorate(decorators: ClassDecorator | ClassDecorator[], target: Function): void;Defined in: @inversifyjs/core:
Parameters
| Parameter | Type |
|---|---|
decorators | ClassDecorator | ClassDecorator[] |
target | Function |
Returns
void
Call Signature
ts
function decorate(
decorators: ParameterDecorator | ParameterDecorator[],
target: Function,
parameterIndex: number): void;Defined in: @inversifyjs/core:
Parameters
| Parameter | Type |
|---|---|
decorators | ParameterDecorator | ParameterDecorator[] |
target | Function |
parameterIndex | number |
Returns
void
Call Signature
ts
function decorate(
decorators: ParameterDecorator | ParameterDecorator[],
target: Function,
methodName: string | symbol,
parameterIndex: number): void;Defined in: @inversifyjs/core:
Parameters
| Parameter | Type |
|---|---|
decorators | ParameterDecorator | ParameterDecorator[] |
target | Function |
methodName | string | symbol |
parameterIndex | number |
Returns
void
Call Signature
ts
function decorate(
decorators:
| MethodDecorator
| PropertyDecorator
| MethodDecorator[]
| PropertyDecorator[],
target: Function,
property: string | symbol): void;Defined in: @inversifyjs/core:
Parameters
| Parameter | Type |
|---|---|
decorators | | MethodDecorator | PropertyDecorator | MethodDecorator[] | PropertyDecorator[] |
target | Function |
property | string | symbol |
Returns
void