Interface: AnnotationCreateOptions<T, S>
Less than 1 minute
AspectJS • Docs
Interface: AnnotationCreateOptions<T, S>
Options given to decoree.annotations AnnotationFactory to create a new annotation.
Type Parameters
• T extends AnnotationKind
the type of annotation to create
• S extends AnnotationStub
<T
>
the signature of the annotation to create. It defines the name of the annotation and the set of accepted parameters.
Properties
annotationStub?
optional
annotationStub:S
An no-op function with the same signature as the annotation to create.
Defined in
packages/common/src/annotation/factory/annotation.factory.ts:44
name?
optional
name:string
The name of the annotation to create.
Defined in
packages/common/src/annotation/factory/annotation.factory.ts:40
type?
optional
type:T
The type of annotation to create.
Defined in
packages/common/src/annotation/factory/annotation.factory.ts:48