UNPKG

homebridge-config-ui-x

Version:

A web based management, configuration and control platform for Homebridge

10 lines (9 loc) 670 B
import { NestInterceptor } from '@nestjs/common'; import { ContextType, Controller } from '@nestjs/common/interfaces'; import { Observable } from 'rxjs'; import { ExecutionContextHost } from '../helpers/execution-context-host'; export declare class InterceptorsConsumer { intercept<TContext extends ContextType = ContextType>(interceptors: NestInterceptor[], args: any[], instance: Controller, callback: (...args: any[]) => any, next: () => Promise<any>, type?: TContext): Promise<any>; createContext(args: any[], instance: Controller, callback: (...args: any[]) => any): ExecutionContextHost; transformDeffered(next: () => Promise<any>): Observable<any>; }