Skip to content

InterceptorContext

@tsed/di

Usage

typescript
import { InterceptorContext } from "@tsed/di";

See /packages/di/src/types/common/interfaces/InterceptorContext.ts.

Overview

ts
interface InterceptorContext<Klass = Type, Opts = any> {
    target: Klass;
    propertyKey: string | symbol;
    args: any[];
    next: InterceptorNext;
    options?: Opts;
}

target

ts
target: Klass;

propertyKey

ts
propertyKey: string | symbol;

args

ts
args: any[];

next

ts
next: InterceptorNext;

options

ts
options?: Opts;

Released under the MIT License.