UNPKG

@nestjs/core

Version:

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

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; }