UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

9 lines (8 loc) • 364 B
import type { RouteParamtypes } from '@nestjs/common/internal'; export interface IRouteParamsFactory { exchangeKeyForValue<TRequest extends Record<string, any> = any, TResponse = any, TResult = any>(key: RouteParamtypes | string, data: any, { req, res, next }: { req: TRequest; res: TResponse; next: Function; }): TResult | null; }