Type Parameters

  • T

  • K extends keyof T

Hierarchy

  • IInjectionApi

Properties

arguments: Extract<LiterallyJustTheSameThing<Parameters<Extract<T[K], AnyFunction<any>>>>, any[]>

The arguments given to the method call.

cancelled: boolean

Whether the original method (the one injected into) should be called.

executingInstance: T

The instance that the injected method was called on.

originalMethod: T[K]

The original method (the one injected into).

returnValue: undefined | ReturnType<T[K] extends ((...args: any[]) => any) ? any[any] : never>

The return value of the method call.

Generated using TypeDoc