UNPKG

@kitstack/nest-powertools

Version:

A comprehensive collection of NestJS powertools, decorators, and utilities to supercharge your backend development

10 lines (9 loc) 410 B
import { type NestInterceptor, type ExecutionContext, type CallHandler } from '@nestjs/common'; import { type Observable } from 'rxjs'; import type { CacheOptions } from '../types'; export declare class CacheInterceptor implements NestInterceptor { private options; private cache; constructor(options?: CacheOptions); intercept(context: ExecutionContext, next: CallHandler): Observable<any>; }