Skip to content

Commit 5df365c

Browse files
committed
chore(core,types): cleanup
1 parent e06d2e6 commit 5df365c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/composables/useVueFlow.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { toRefs, tryOnScopeDispose } from '@vueuse/core'
22
import type { EffectScope } from 'vue'
33
import { computed, effectScope, getCurrentScope, inject, provide, reactive, watch } from 'vue'
4-
import type { EdgeChange, FlowOptions, FlowProps, NodeChange, VueFlowStore } from '../types'
4+
import type { EdgeChange, FlowOptions, NodeChange, VueFlowStore } from '../types'
55
import { warn } from '../utils'
66
import { useActions, useGetters, useState } from '../store'
77
import { VueFlow } from '../context'
@@ -97,7 +97,7 @@ type Scope = (EffectScope & { vueFlowId: string }) | undefined
9797
* @public
9898
* @returns a vue flow store instance
9999
*/
100-
export function useVueFlow(options?: FlowProps): VueFlowStore {
100+
export function useVueFlow(options?: FlowOptions): VueFlowStore {
101101
const storage = Storage.getInstance()
102102

103103
const scope = getCurrentScope() as Scope

0 commit comments

Comments
 (0)