express-decorated-router
Version:
Define Express routes using TypeScript decorators
12 lines (11 loc) • 321 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Method_1 = require("./Method");
/**
* Use this handler for the PATCH HTTP method
* @param path The path this handler will be responsible for
*/
function PATCH(path) {
return Method_1.Method('patch', path);
}
exports.PATCH = PATCH;