@tsed/common
Version:
A TypeScript Framework on top of Express
13 lines • 352 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.bindEndpointMiddleware = void 0;
/**
* @ignore
*/
function bindEndpointMiddleware(endpoint) {
return (ctx) => {
ctx.endpoint = endpoint;
};
}
exports.bindEndpointMiddleware = bindEndpointMiddleware;
//# sourceMappingURL=bindEndpointMiddleware.js.map