chore: fix lint issues
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { XYPosition, Dimensions } from './flow'
|
import { XYPosition, Dimensions } from './flow'
|
||||||
import { NodeHandleBounds, Node, GraphNode, CoordinateExtent } from './node'
|
import { NodeHandleBounds, Node } from './node'
|
||||||
import { Edge } from './edge'
|
import { Edge } from './edge'
|
||||||
|
|
||||||
export type NodeDimensionChange = {
|
export type NodeDimensionChange = {
|
||||||
|
|||||||
+3
-2
@@ -16,8 +16,9 @@ import {
|
|||||||
Rect,
|
Rect,
|
||||||
Transform,
|
Transform,
|
||||||
XYPosition,
|
XYPosition,
|
||||||
XYZPosition, Getters
|
XYZPosition,
|
||||||
} from "~/types";
|
Getters,
|
||||||
|
} from '~/types'
|
||||||
import { useWindow } from '~/composables'
|
import { useWindow } from '~/composables'
|
||||||
|
|
||||||
const isHTMLElement = (el: EventTarget): el is HTMLElement => ('nodeName' || 'hasAttribute') in el
|
const isHTMLElement = (el: EventTarget): el is HTMLElement => ('nodeName' || 'hasAttribute') in el
|
||||||
|
|||||||
Reference in New Issue
Block a user