@zhongguo168a/yxeditor-common 0.0.55 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1019,6 +1019,7 @@ declare class MapValue {
1019
1019
  obj: {};
1020
1020
  key: any;
1021
1021
  constructor(obj: {}, key: any);
1022
+ set(value: any): void;
1022
1023
  isUndefined(): boolean;
1023
1024
  toNumber(): number;
1024
1025
  toString(): string;
package/dist/index.esm.js CHANGED
@@ -1140,6 +1140,9 @@ class MapValue {
1140
1140
  this.obj = obj;
1141
1141
  this.key = key;
1142
1142
  }
1143
+ set(value) {
1144
+ this.obj[this.key] = value;
1145
+ }
1143
1146
  isUndefined() {
1144
1147
  return this.obj[this.key] == undefined;
1145
1148
  }