Constructors
constructor
-
Parameters
-
-
_name: string
-
Default value _isStatic: boolean = false
Accessors
annotations
- get annotations(): IAnnotation[]
descriptor
- get descriptor(): PropertyDescriptor
-
Returns PropertyDescriptor
valueType
- get valueType(): Type<any>
visibility
- get visibility(): "private" | "public" | "protected"
-
Returns "private" | "public" | "protected"
Methods
annotationOfType
-
Type parameters
Parameters
Returns T
annotationsOfType
-
Type parameters
Parameters
Returns T[]
defineMetadata
- defineMetadata(key: string, value: string): void
-
Parameters
-
key: string
-
value: string
Returns void
deleteMetadata
- deleteMetadata(key: string): void
getMetadata
- getMetadata(key: string): any
Represents a property on a class. A property can also be a field or a method.