dependency-injection-cat
Version:
DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!
22 lines (21 loc) • 774 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CatContext = void 0;
var UsingCatContextWithoutConfiguredDI_1 = require("../exceptions/runtime/UsingCatContextWithoutConfiguredDI");
/**
* TBeans should be a plain interface without extending
*/
var CatContext = /** @class */ (function () {
function CatContext() {
throw new UsingCatContextWithoutConfiguredDI_1.UsingCatContextWithoutConfiguredDI();
}
Object.defineProperty(CatContext.prototype, "config", {
get: function () {
throw new UsingCatContextWithoutConfiguredDI_1.UsingCatContextWithoutConfiguredDI();
},
enumerable: false,
configurable: true
});
return CatContext;
}());
exports.CatContext = CatContext;