12345678910111213141516171819202122232425 |
- var t = require;
- var e = module;
- var i = exports;
- Object.defineProperty(i, "__esModule", {value: !0}),
- (i.Decorators = void 0),
- ((i.Decorators || (i.Decorators = {})).AddGetInstance = function (t) {
- t.getInstance = function (...t) {
- var e;
- return (
- this._instance ||
- (0 == (e = t.length)
- ? (this._instance = new this())
- : 1 == e
- ? (this._instance = new this(t[0]))
- : 2 == e
- ? (this._instance = new this(t[0], t[1]))
- : 3 == e
- ? (this._instance = new this(t[0], t[1], t[2]))
- : 4 == e
- ? (this._instance = new this(t[0], t[1], t[2], t[3]))
- : 5 == e && (this._instance = new this(t[0], t[1], t[2], t[3], t[4]))),
- this._instance
- );
- };
- });
|