inversify
Version:
A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.
14 lines (13 loc) • 431 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.LazyServiceIdentifier = void 0;
var LazyServiceIdentifier = (function () {
function LazyServiceIdentifier(cb) {
this._cb = cb;
}
LazyServiceIdentifier.prototype.unwrap = function () {
return this._cb();
};
return LazyServiceIdentifier;
}());
exports.LazyServiceIdentifier = LazyServiceIdentifier;
;