Skip to content

[I] DecoratorDefinition

Type Parameters

Type ParameterDefault type
T extends TypeKind-
P extends readonly DecoratorParamDefinition<TypeKind>[]-
S extends DecoratorParamDefinition<TypeKind> | undefinedundefined

Properties

PropertyModifierTypeDescription
argsreadonlyPList of positional arguments in the function.
namereadonlystringName of the decorator.
spreadArgs?readonlySOptional Type of the spread args at the end of the function if applicable.
targetreadonlyT | readonly T[]Decorator target.