fix: typings for UseVueFlow

Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
bcakmakoglu
2022-02-21 20:25:17 +01:00
committed by Braks
parent 78c58688a2
commit 8260eabc58
12 changed files with 39 additions and 30 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import {
CoordinateExtent,
EdgeChange,
Actions,
Getters,
ComputedGetters,
State,
GraphNode,
Node,
@@ -101,7 +101,7 @@ export const parseChildren = (
}
}
export default (state: State, getters: Getters): Actions => {
export default (state: State, getters: ComputedGetters): Actions => {
const updateNodePosition: Actions['updateNodePosition'] = ({ id, diff = { x: 0, y: 0 }, dragging }) => {
const changes: NodeDimensionChange[] = []