[I] DecoratorDefinition
Type Parameters
Type Parameter | Default type |
---|---|
T extends TypeKind | - |
P extends readonly DecoratorParamDefinition <TypeKind >[] | - |
S extends DecoratorParamDefinition <TypeKind > | undefined | undefined |
Properties
Property | Modifier | Type | Description |
---|---|---|---|
args | readonly | P | List of positional arguments in the function. |
name | readonly | string | Name of the decorator. |
spreadArgs? | readonly | S | Optional Type of the spread args at the end of the function if applicable. |
target | readonly | T | readonly T [] | Decorator target. |