UNPKG

@nestjs/common

Version:

Nest - modern, fast, powerful node.js web framework (@common)

6 lines (5 loc) 260 B
import { Observable } from 'rxjs'; import { ExecutionContext } from './execution-context.interface'; export interface NestInterceptor<T = any, R = any> { intercept(context: ExecutionContext, call$: Observable<T>): Observable<R> | Promise<Observable<R>>; }