@tsclean/core
Version:
Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.
10 lines • 465 B
TypeScript
import { RouteParamTypes } from "../enums";
import { RouteParamsFactoryInterface } from "../contracts";
export declare class RouteParamsFactory implements RouteParamsFactoryInterface {
exchangeKeyForValue<T extends Record<string, any> = any, R = any, Q = any>(key: RouteParamTypes | string, data: string | object | any, { req, res, next }: {
req: T;
res: R;
next: Function;
}): Q;
}
//# sourceMappingURL=route-params-factory.d.ts.map