@copperjs/copper
Version:
A lightweight chromium grid
20 lines • 512 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfigStore = void 0;
class ConfigStore {
constructor(_value) {
this._value = _value;
this._default = Object.assign({}, _value);
}
get value() {
return this._value;
}
set value(val) {
Object.assign(this._value, val);
}
reset() {
this._value = Object.assign({}, this._default);
}
}
exports.ConfigStore = ConfigStore;
//# sourceMappingURL=configStore.js.map