fix: types

This commit is contained in:
Braks
2021-07-20 20:11:13 +02:00
parent b4fcab4004
commit 1a7f3da0b6
5 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
import { computed, DefineComponent, defineComponent, inject, PropType, ref } from 'vue';
import { Edge, EdgeProps, Position, RevueFlowStore, WrapEdgeProps } from '../../types';
import { Edge, Position, RevueFlowStore, WrapEdgeProps } from '../../types';
import { onMouseDown } from '../Handle/handler';
import { EdgeAnchor } from './EdgeAnchor';
export default (EdgeComponent: DefineComponent<EdgeProps>) => {
export default (EdgeComponent: DefineComponent<WrapEdgeProps>) => {
return defineComponent({
components: { EdgeComponent },
props: {