refactor(types): use vite-plugin-import-types

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent 8cf22797f5
commit 74c30376a5
10 changed files with 31 additions and 111 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
import { getSourceTargetNodes } from './edge'
import {
ElementId,
Node,
@@ -19,7 +20,6 @@ import {
FlowState,
} from '~/types'
import { useWindow } from '~/composables'
import { getSourceTargetNodes } from '~/utils/edge'
const isHTMLElement = (el: EventTarget): el is HTMLElement => ('nodeName' || 'hasAttribute') in el
+1 -1
View File
@@ -1,5 +1,5 @@
import { getDimensions } from './graph'
import { HandleElement, Position } from '~/types'
import { getDimensions } from '~/utils/graph'
export const getHandleBoundsByHandleType = (
selector: string,