From 5df365cd63e1c4d80b70ea092cda98282eac650e Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Wed, 6 Mar 2024 22:13:24 +0100 Subject: [PATCH] chore(core,types): cleanup --- packages/core/src/composables/useVueFlow.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/composables/useVueFlow.ts b/packages/core/src/composables/useVueFlow.ts index 97665a13..9a04aac4 100644 --- a/packages/core/src/composables/useVueFlow.ts +++ b/packages/core/src/composables/useVueFlow.ts @@ -1,7 +1,7 @@ import { toRefs, tryOnScopeDispose } from '@vueuse/core' import type { EffectScope } from 'vue' import { computed, effectScope, getCurrentScope, inject, provide, reactive, watch } from 'vue' -import type { EdgeChange, FlowOptions, FlowProps, NodeChange, VueFlowStore } from '../types' +import type { EdgeChange, FlowOptions, NodeChange, VueFlowStore } from '../types' import { warn } from '../utils' import { useActions, useGetters, useState } from '../store' import { VueFlow } from '../context' @@ -97,7 +97,7 @@ type Scope = (EffectScope & { vueFlowId: string }) | undefined * @public * @returns a vue flow store instance */ -export function useVueFlow(options?: FlowProps): VueFlowStore { +export function useVueFlow(options?: FlowOptions): VueFlowStore { const storage = Storage.getInstance() const scope = getCurrentScope() as Scope