nestjs-cls
Version:
A continuation-local storage module compatible with NestJS's dependency injection.
9 lines • 457 B
TypeScript
import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common';
import { Observable } from 'rxjs';
import { ClsInterceptorOptions } from '../cls.options';
export declare class ClsInterceptor implements NestInterceptor {
private readonly options;
constructor(options?: Omit<ClsInterceptorOptions, 'mount'>);
intercept(context: ExecutionContext, next: CallHandler): Observable<any>;
}
//# sourceMappingURL=cls.interceptor.d.ts.map