tsioc
Version:
tsioc is AOP, Ioc container, via typescript decorator
20 lines (18 loc) • 601 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var index_1 = require("../core/index");
var index_2 = require("../utils/index");
function isValideAspectTarget(targetType) {
if (!index_2.isClass(targetType)
|| targetType === Object
|| targetType === String
|| targetType === Date) {
return false;
}
if (index_1.hasOwnClassMetadata(index_1.NonePointcut, targetType)) {
return false;
}
return true;
}
exports.isValideAspectTarget = isValideAspectTarget;
//# sourceMappingURL=sourcemaps/isValideAspectTarget.js.map