nestjs-mvc-tools
Version:
NestJS MVC Tools is a small set of tools designed to help you get started more easily with traditional web development approaches in NestJS.
14 lines (13 loc) • 714 B
TypeScript
import { NestMiddleware } from "@nestjs/common";
import { Response } from "express";
import { NestMvcReq } from "../nest-mvc.type";
import { EdgeJsService } from "../services/edge-js.service";
import { NestMvcLoggerService } from "../services/nest-mvc-logger.service";
import { NestMvcOptionsService } from "../services/nest-mvc-options.service";
export declare class NestMvcViewMiddleware implements NestMiddleware {
private readonly edgeJsService;
private readonly optionsService;
private readonly logger;
constructor(edgeJsService: EdgeJsService, optionsService: NestMvcOptionsService, logger: NestMvcLoggerService);
use(req: NestMvcReq, res: Response, next: (error?: any) => void): void;
}