UNPKG

506 BTypeScriptView Raw
1import { RouteParamtypes } from '@nestjs/common/enums/route-paramtypes.enum';
2import { IRouteParamsFactory } from './interfaces/route-params-factory.interface';
3export declare class RouteParamsFactory implements IRouteParamsFactory {
4 exchangeKeyForValue<TRequest extends Record<string, any> = any, TResponse = any, TResult = any>(key: RouteParamtypes | string, data: string | object | any, { req, res, next }: {
5 req: TRequest;
6 res: TResponse;
7 next: Function;
8 }): TResult;
9}