@thatcompany/ts-tool
Version:
基于TypeScript编写的工具库
17 lines • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IConfigure = void 0;
exports.Configure = Configure;
require("reflect-metadata");
const METADATA_1 = require("./METADATA");
const IAnnotation_1 = require("./IAnnotation");
// 自动配置注解
function Configure(target) {
Reflect.defineMetadata(METADATA_1.METADATA.CONFIGURE, true, target);
}
class IConfigure extends IAnnotation_1.IAnnotation {
DESCRIPTION = '配置注解';
IDENTIFIER = METADATA_1.METADATA.CONFIGURE;
}
exports.IConfigure = IConfigure;
//# sourceMappingURL=Configure.js.map