Options
All
  • Public
  • Public/Protected
  • All
Menu

Interceptors

Index

Type aliases

AccessInterceptor

AccessInterceptor: function

Type declaration

AfterInterceptor

AfterInterceptor: function

Interceptor that is invoked after a invocation / access has completed.

param

Result of the invocation / value of the property

returns

Modified result of the invocation / value of the property

Type declaration

    • (result: any): any
    • Parameters

      • result: any

      Returns any

BeforeInterceptor

BeforeInterceptor: function

Interceptor that is invoked before a invocation / access.

param

Arguments of the method invocation / value to be assigned to a property (setter) / empty array (getter)

returns

Modified arguments

Type declaration

    • (args: any[]): any[]
    • Parameters

      • args: any[]

      Returns any[]

GetterInterceptor

GetterInterceptor: function

Type declaration

    • (result: any): any
    • Parameters

      • result: any

      Returns any

MethodInterceptor

MethodInterceptor: function

Interceptor for method invocations and property accesses.

param

provide information about the invocation and allows the interceptor to forward the call to the next handler.

returns

The result of the method invocation (invocation), the property value (getter) or true/false (setter)

Type declaration

SetterInterceptor

SetterInterceptor: function

Type declaration

    • (value: any): any
    • Parameters

      • value: any

      Returns any

Functions

access

after

around

before

createOverrideOnMember

  • createOverrideOnMember(targetClass: any, member: string): Override
  • Parameters

    • targetClass: any
    • member: string

    Returns Override

getter

proxy

  • proxy(): (Anonymous function)

setter

Generated using TypeDoc