UNPKG

@tsclean/core

Version:

Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.

9 lines 403 B
import { Observable } from "rxjs"; import { ExecutionContextInterface } from './execution-context'; export interface CallHandlerInterface<T = any> { handle(): Observable<T>; } export interface InterceptorInterface<T = any, R = any> { intercept(context: ExecutionContextInterface, next: CallHandlerInterface<T>): Observable<R> | Promise<Observable<R>>; } //# sourceMappingURL=interceptor.d.ts.map