inversify
Version:
A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.
16 lines (15 loc) • 550 B
JavaScript
define(["require", "exports"], function (require, exports) {
"use strict";
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;
});