Apply this annotation to a given target.
Apply this annotation instance to the given constructor parameter.
Apply this annotation instance to the given method.
Apply this annotation instance to the given method parameter.
Apply this annotation instance to the given property.
Clone the given Annotation instance into a new instance. This is not a deep copy.
Copy the annotations defined for one class onto another.
The class to copy annotations from
The class to copy annotations to
Get all annotations (including from Angular and other compatible frameworks).
The target to fetch annotations for
Get the annotations defined on the parameters of the given method of the given class.
Gets a map of the annotations defined on all properties of the given class/function. To get the annotations of instance fields,
make sure to use Class.prototype
, otherwise static annotations are returned.
Get a map of the annotations defined on all parameters of all methods of the given class/function.
To get instance methods, make sure to pass Class.prototype
, otherwise the results are for static fields.
Get all annotations (including from Angular and other compatible frameworks).
The target to fetch annotations for
Get the annotations defined on the parameters of the given method of the given class.
Whether type
itself (isStatic = true), or type.prototype
(isStatic = false) should be the target.
Note that passing true may indicate that the passed type
is already the prototype of a class.
Get all annotations (including from Angular and other compatible frameworks).
The target to fetch annotations for
Generated using TypeDoc
A helper class for managing annotations