import { Injectable, NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common'; import { Observable } from 'rxjs'; @Injectable() export class <%= kebabToPascal(config.name) %>Interceptor implements NestInterceptor { intercept(context: ExecutionContext, next: CallHandler): Observable { // do your work here // return next.handle().pipe(); } }