dazjsx
Version:
参考nestjs,基于KOA2的一款轻量级的后端开发框架
14 lines (13 loc) • 443 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InjectTable = void 0;
const util_1 = require("../util");
const __1 = require("..");
const InjectTable = (option) => {
return (target) => {
util_1.R.setMetadata(__1.SCOP_RANG, {
scope: (option === null || option === void 0 ? void 0 : option.scop) || 'any',
}, target);
};
};
exports.InjectTable = InjectTable;