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 f44784b1d0
commit 2731d0bf5e
6 changed files with 18 additions and 12 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { InjectionKey } from 'vue'
import { UseVueFlow } from '~/types'
export const VueFlow: InjectionKey<UseVueFlow> = Symbol('vueFlow')
export const NodeId: InjectionKey<string> = Symbol('nodeId')
export const VueFlow: InjectionKey<UseVueFlow> = Symbol('vueFlow') as InjectionKey<UseVueFlow>
export const NodeId: InjectionKey<string> = Symbol('nodeId') as InjectionKey<string>