ng-di-kit
Version:
Angular Dependency Injection Kit
15 lines (14 loc) • 426 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const globalization_1 = require("../globalization");
function DIDeclare(options) {
return function (type) {
globalization_1.declarations.push(type);
if (options) {
if (options.isEntry) {
globalization_1.entries.push(type);
}
}
};
}
exports.DIDeclare = DIDeclare;