This commit is contained in:
root
2025-11-25 09:56:15 +03:00
commit 68c8f0e80d
23717 changed files with 3200521 additions and 0 deletions

26
mc_test/node_modules/lazy-val/out/main.js generated vendored Executable file
View File

@ -0,0 +1,26 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Lazy = void 0;
class Lazy {
constructor(creator) {
this._value = null;
this.creator = creator;
}
get hasValue() {
return this.creator == null;
}
get value() {
if (this.creator == null) {
return this._value;
}
const result = this.creator();
this.value = result;
return result;
}
set value(value) {
this._value = value;
this.creator = null;
}
}
exports.Lazy = Lazy;
//# sourceMappingURL=main.js.map