chore(store): use correct type for fitView action

This commit is contained in:
moklick
2023-09-26 16:00:07 +02:00
parent 88104fc15f
commit 84fbb25f69
+1 -1
View File
@@ -23,7 +23,7 @@ export type SvelteFlowStoreActions = {
setMinZoom: (minZoom: number) => void;
setMaxZoom: (maxZoom: number) => void;
setTranslateExtent: (extent: CoordinateExtent) => void;
fitView: (options?: FitViewOptions) => boolean;
fitView: (nodes: Node[], options?: FitViewOptions) => boolean;
updateNodePositions: UpdateNodePositions;
updateNodeDimensions: (updates: NodeDimensionUpdate[]) => void;
unselectNodesAndEdges: () => void;