# Intercept Decorator

Module
import { Intercept } from "@tsed/di"
Source/packages/di/src/decorators/intercept.ts

# Overview

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

# Description

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