fix(core): update EdgeRef injection type to SVGElement

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-18 21:11:10 +01:00
committed by Braks
parent 5386fc30fb
commit 912cba3844

View File

@@ -5,5 +5,5 @@ export const VueFlow: InjectionKey<VueFlowStore> = Symbol('vueFlow')
export const NodeId: InjectionKey<string> = Symbol('nodeId')
export const NodeRef: InjectionKey<Ref<HTMLDivElement>> = Symbol('nodeRef')
export const EdgeId: InjectionKey<string> = Symbol('edgeId')
export const EdgeRef: InjectionKey<Ref<HTMLDivElement>> = Symbol('edgeRef')
export const EdgeRef: InjectionKey<Ref<SVGElement>> = Symbol('edgeRef')
export const Slots: InjectionKey<TSlots> = Symbol('slots')