Type Alias: Annotation<T, S>
Less than 1 minute
AspectJS • Docs
Type Alias: Annotation<T, S>
Annotation<
T
,S
>:object
&object
& (...args
) =>Decorator
<T
>
An Annotation is an EcmaScript decorator with no behavior. It is identified by a name and a group ID.
Type declaration
ref
ref:
AnnotationRef
The reference to the annotation
Type declaration
groupId
readonly
groupId:string
The group ID of the annotation.
name
readonly
name:string
The name of the annotation.
Type Parameters
• T extends AnnotationKind
= any
The type of the annotation, derived from AnnotationKind
.
• S extends AnnotationStub
<T
> = AnnotationStub
<T
>
The type of the annotation stub, derived from AnnotationStub<T>
.
Defined in
packages/common/src/annotation/annotation.types.ts:44