synapse-storage
Version:
Набор инструментов для управления состоянием и апи-запросами
24 lines (22 loc) • 425 B
JavaScript
class StorageKey {
value;
isRawKey;
constructor(value, isRawKey = false){
this.value = value;
this.isRawKey = isRawKey;
}
toString() {
return this.value;
}
toJSON() {
return this.value;
}
valueOf() {
return this.value;
}
isUnparseable() {
return this.isRawKey;
}
}
export { StorageKey };
//# sourceMappingURL=storage-key.js.map