zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
12 lines • 428 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.controller = void 0;
const enums_1 = require("../types/enums");
function controller(key) {
// eslint-disable-next-line @typescript-eslint/ban-types
return (target) => {
Reflect.defineMetadata(enums_1.REFLECT_METADATA.CONTROLLER_KEY, key, target);
};
}
exports.controller = controller;
//# sourceMappingURL=controller.js.map