Protected
_classProtected
_fromProtected
Optional
_indexProtected
_keyProtected
Optional
_methodGets or sets the class reference being decorated.
Gets or sets the originating class reference.
Gets the index of the parameter being decorated, if applicable.
Determines if the target is a class.
Gets the key of the property or method being decorated.
Gets the method descriptor if the target is a method.
Applies the decoration to the specified target.
The class reference.
The property key.
Optional
method: Record<string, any>The method descriptor.
Optional
from: Record<string, any>The originating class reference.
Optional
index: numberThe parameter index.
The current instance.
Decorates an unknown type (class, method, or property).
The class reference.
Optional
key: stringThe property key.
Optional
method: PropertyDescriptorThe method descriptor.
Optional
index: numberThe parameter index.
The current instance.
Represents a base decorator class.