@tsed/platform-http
Version:
A TypeScript Framework on top of Express
17 lines (16 loc) • 355 B
JavaScript
import { ParamTypes, UseParam } from "@tsed/platform-params";
/**
* Get the Next function (for express application and middleware).
*
* @decorator
* @operation
* @input
*/
export function Next() {
return UseParam({
paramType: ParamTypes.NEXT_FN,
dataPath: "next",
useMapper: false,
useValidation: false
});
}