update(store): rename update to updates (to fit arr type)

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent b46445e204
commit c955d19263
+1 -1
View File
@@ -110,7 +110,7 @@ export interface Actions<N = any, E = N> {
setState: (state: Partial<FlowOptions<N, E> & Omit<State, 'nodes' | 'edges' | 'modelValue'>>) => void
updateNodePosition: ({ id, diff, dragging }: { id?: string; diff?: XYPosition; dragging?: boolean }) => void
updateNodeDimensions: (
update: {
updates: {
id: string
nodeElement: HTMLDivElement
forceUpdate?: boolean