@azrico/webobject 1.4.6 → 1.4.7

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.
@@ -90,12 +90,13 @@ export declare class SimpleObject extends MapableObject {
90
90
  notifyChanged<MKey extends PropOf<this>>(type: string, key: MKey | string, value: any, subvalue?: any): Promise<void>;
91
91
  /**
92
92
  * check if a key can be changed on an object
93
- * @param object
94
- * @param key
95
- * @param useExtraProps
93
+ * @param object the object we are checking
94
+ * @param key key of the object
95
+ * @param useExtraProps should we check extra props?
96
96
  * @returns
97
97
  */
98
- static canChangeKey(object: SimpleObject, key: string, useExtraProps: boolean): any;
98
+ static canChangeKey(object: SimpleObject, key: string, useExtraProps: boolean): boolean;
99
+ static hasIllegalChanges(referenceObject: any, changesObject: any, userObject: any): boolean;
99
100
  /**
100
101
  * Apply the changes and empty the delta object
101
102
  */