Evergage Core API
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Decorator

Decorator: ClassDecorator | MemberDecorator

MemberDecorator

MemberDecorator: function

Type declaration

    • <T>(target: Target, propertyKey: PropertyKey, descriptor?: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void
    • Type parameters

      • T

      Parameters

      • target: Target
      • propertyKey: PropertyKey
      • Optional descriptor: TypedPropertyDescriptor<T>

      Returns TypedPropertyDescriptor<T> | void

MetadataKey

MetadataKey: string | symbol

PropertyKey

PropertyKey: string | symbol

Target

Target: object | Function

Variables

Const Reflection

Reflection: object

Type declaration

Functions

decorate

  • decorate(decorators: ClassDecorator[], target: Function): Function
  • decorate(decorators: MemberDecorator[], target: object, propertyKey?: PropertyKey, attributes?: PropertyDescriptor): PropertyDescriptor | undefined
  • Parameters

    • decorators: ClassDecorator[]
    • target: Function

    Returns Function

  • Parameters

    • decorators: MemberDecorator[]
    • target: object
    • Optional propertyKey: PropertyKey
    • Optional attributes: PropertyDescriptor

    Returns PropertyDescriptor | undefined

defineMetadata

  • Type parameters

    • MetadataValue

    Parameters

    Returns void

getMetadata

  • Type parameters

    • MetadataValue

    Parameters

    Returns MetadataValue

getOwnMetadata

  • Type parameters

    • MetadataValue

    Parameters

    Returns MetadataValue

hasMetadata

  • Parameters

    Returns boolean

hasOwnMetadata

  • Parameters

    Returns boolean

metadata

  • metadata<MetadataValue>(metadataKey: MetadataKey, metadataValue: MetadataValue): function
  • Type parameters

    • MetadataValue

    Parameters

    • metadataKey: MetadataKey
    • metadataValue: MetadataValue

    Returns function

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