mirror of
https://github.com/nestjs/nest.git
synced 2026-02-24 00:02:56 +00:00
12 lines
585 B
TypeScript
12 lines
585 B
TypeScript
import { Observable } from 'rxjs';
|
|
import { ExecutionContext, HttpServer, NestInterceptor } from '../../interfaces';
|
|
export declare class CacheInterceptor implements NestInterceptor {
|
|
protected readonly httpServer: HttpServer;
|
|
protected readonly cacheManager: any;
|
|
protected readonly reflector: any;
|
|
protected readonly isHttpApp: boolean;
|
|
constructor(httpServer: HttpServer, cacheManager: any, reflector: any);
|
|
intercept(context: ExecutionContext, call$: Observable<any>): Promise<Observable<any>>;
|
|
trackBy(context: ExecutionContext): string | undefined;
|
|
}
|