chore: remove string[] from combineInventoryChanges
This commit is contained in:
parent
05c0a91f82
commit
28b9e35d8d
@ -122,7 +122,7 @@ export const combineInventoryChanges = (InventoryChanges: IInventoryChanges, del
|
||||
InventoryChanges[key] = delta[key];
|
||||
} else if (Array.isArray(delta[key])) {
|
||||
const left = InventoryChanges[key] as object[];
|
||||
const right: object[] | string[] = delta[key];
|
||||
const right: object[] = delta[key];
|
||||
for (const item of right) {
|
||||
left.push(item);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user