From c955d19263c079d0e4c1df100e226204dc3a66da Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Mon, 28 Mar 2022 19:24:51 +0200 Subject: [PATCH] update(store): rename update to updates (to fit arr type) --- src/types/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/store.ts b/src/types/store.ts index 65002e16..cafba3b4 100644 --- a/src/types/store.ts +++ b/src/types/store.ts @@ -110,7 +110,7 @@ export interface Actions { setState: (state: Partial & Omit>) => void updateNodePosition: ({ id, diff, dragging }: { id?: string; diff?: XYPosition; dragging?: boolean }) => void updateNodeDimensions: ( - update: { + updates: { id: string nodeElement: HTMLDivElement forceUpdate?: boolean