refactor(types): use vite-plugin-import-types
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -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
@@ -1,5 +1,5 @@
|
||||
import { getDimensions } from './graph'
|
||||
import { HandleElement, Position } from '~/types'
|
||||
import { getDimensions } from '~/utils/graph'
|
||||
|
||||
export const getHandleBoundsByHandleType = (
|
||||
selector: string,
|
||||
|
||||
Reference in New Issue
Block a user