UNPKG

@nestjs/core

Version:

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

10 lines (9 loc) 498 B
import { RouteParamtypes } from '@nestjs/common/enums/route-paramtypes.enum'; import { IRouteParamsFactory } from './interfaces/route-params-factory.interface'; export declare class RouteParamsFactory implements IRouteParamsFactory { exchangeKeyForValue<TRequest extends Record<string, any> = any, TResponse = any, TResult = any>(key: RouteParamtypes | string, data: string, { req, res, next }: { req: TRequest; res: TResponse; next: Function; }): TResult | null; }