chore(core,types): cleanup

This commit is contained in:
braks
2024-03-06 22:13:24 +01:00
committed by Braks
parent e06d2e6a23
commit 5df365cd63

View File

@@ -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