Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Function

Add reflect method for Function.prototype Add aop and mixin methods for Function.prototype

Hierarchy

  • Function

Index

Properties

Methods

Properties

class

class: Class<any>

Returns the reflected Class of this class constructor.

Methods

aop

  • Returns a new function for AOP.

    Type parameters

    • T

    Parameters

    Returns (...args: any) => any

      • (...args: any): any
      • Parameters

        • Rest ...args: any

        Returns any

mixin

  • mixin(kls: Klass<any>, methodNames?: string[]): void
  • Mixin other class methods in this class.

    Parameters

    • kls: Klass<any>
    • Optional methodNames: string[]

    Returns void