Start refactoring state management

This commit is contained in:
schmelczerandras 2019-08-31 21:21:21 +02:00
commit a9ad628488

View file

@ -26,7 +26,7 @@ export abstract class InnerNode extends Node {
return this.update((self: this) => this.cloneWithMap.call(self, map));
}
changeKey(update: { value: any; propertyName: string }): this {
changeKey(update: { propertyName: string; value: any }): this {
return this.update((self: this) => this.cloneWithAdd.call(self, update));
}