Skip to content

Intercept

@tsed/di

Usage

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

See /packages/di/src/types/common/decorators/intercept.ts.

Overview

ts
function Intercept<T extends InterceptorMethods>(interceptor: Type<T>, options?: any): any;

Description

Attaches interceptor to method call and executes the before and after methods

Released under the MIT License.