update(store): rename update to updates (to fit arr type)
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ export interface Actions<N = any, E = N> {
|
|||||||
setState: (state: Partial<FlowOptions<N, E> & Omit<State, 'nodes' | 'edges' | 'modelValue'>>) => void
|
setState: (state: Partial<FlowOptions<N, E> & Omit<State, 'nodes' | 'edges' | 'modelValue'>>) => void
|
||||||
updateNodePosition: ({ id, diff, dragging }: { id?: string; diff?: XYPosition; dragging?: boolean }) => void
|
updateNodePosition: ({ id, diff, dragging }: { id?: string; diff?: XYPosition; dragging?: boolean }) => void
|
||||||
updateNodeDimensions: (
|
updateNodeDimensions: (
|
||||||
update: {
|
updates: {
|
||||||
id: string
|
id: string
|
||||||
nodeElement: HTMLDivElement
|
nodeElement: HTMLDivElement
|
||||||
forceUpdate?: boolean
|
forceUpdate?: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user