- Preparing search index...
- The search index is not available
Deepkit
Class AnnotationDefinition<T>
Methods
getAnnotations
- getAnnotations(type: Type): T[]
-
Returns T[]
getFirst
- getFirst(type: Type): undefined | T
-
Returns undefined | T
hasAnnotations
- hasAnnotations(type: Type): boolean
-
Returns boolean
register
- register(annotations: any, data: T): void
-
Returns void
registerType
- registerType<TType>(type: TType, data: T): TType
-
Returns TType
replace
- replace(annotations: any, annotation: T[]): void
-
Parameters
-
annotations: any
-
annotation: T[]
Returns void
replaceType
- replaceType(type: Type, annotation: T[]): void
-
Returns void
reset
- reset(annotations: any): void
-
Returns void