UNPKG

@nestjs/common

Version:

Nest - modern, fast, powerful node.js web framework (@common)

9 lines (8 loc) 233 B
/** * @see [Middleware](https://docs.nestjs.com/middleware) * * @publicApi */ export interface NestMiddleware<TRequest = any, TResponse = any> { use(req: TRequest, res: TResponse, next: (error?: Error | any) => void): any; }