Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • Attribute

  • Attribute

Hierarchy

  • Annotation<Attribute>
    • Decorator

Index

Constructors

constructor

  • new Decorator(attribute?: Attribute): Decorator
  • Parameters

    • Optional attribute: Attribute

    Returns Decorator

Properties

attribute

attribute: Attribute

Optional classDecorator

classDecorator: function

Type declaration

    • <TFunction>(target: TFunction): TFunction | void
    • Type parameters

      • TFunction: Function

      Parameters

      • target: TFunction

      Returns TFunction | void

Optional methodDecorator

methodDecorator: function

Type declaration

    • <T>(target: Object, propertyKey: PropertyKeyType, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void
    • Type parameters

      • T

      Parameters

      • target: Object
      • propertyKey: PropertyKeyType
      • descriptor: TypedPropertyDescriptor<T>

      Returns TypedPropertyDescriptor<T> | void

Optional parameterDecorator

parameterDecorator: function

Type declaration

    • (target: Object, propertyKey: PropertyKeyType, parameterIndex: number): void
    • Parameters

      • target: Object
      • propertyKey: PropertyKeyType
      • parameterIndex: number

      Returns void

Optional propertyDecorator

propertyDecorator: function

Type declaration

    • (target: Object, propertyKey: PropertyKeyType): void
    • Parameters

      • target: Object
      • propertyKey: PropertyKeyType

      Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc