fix: 🐛 fix lint error (#1649)

This commit is contained in:
vector
2021-12-17 10:12:13 +08:00
committed by GitHub
parent 3d51bafd0c
commit f7936826f0
3 changed files with 4 additions and 4 deletions

View File

@ -381,7 +381,7 @@ export namespace Segments {
) => Edge.TerminalCellData['anchor']
createHandle?: (options: Handle.Options) => Handle
processHandle?: (handle: Handle) => void
onChanged?: (options: { edge: Edge, edgeView: EdgeView }) => void
onChanged?: (options: { edge: Edge; edgeView: EdgeView }) => void
}
export interface EventData {

View File

@ -3,7 +3,7 @@ import { Point } from '../../geometry'
import { Graph } from '../../graph'
import { View } from '../../view/view'
import { EdgeView } from '../../view/edge'
import { Edge } from './../../model/edge'
import { Edge } from '../../model/edge'
import { ToolsView } from '../../view/tool'
import { Attr } from '../attr'
@ -287,7 +287,7 @@ export namespace Vertices {
attrs?: Attr.SimpleAttrs | ((handle: Handle) => Attr.SimpleAttrs)
createHandle?: (options: Handle.Options) => Handle
processHandle?: (handle: Handle) => void
onChanged?: (options: { edge: Edge, edgeView: EdgeView }) => void
onChanged?: (options: { edge: Edge; edgeView: EdgeView }) => void
}
}

View File

@ -23,7 +23,7 @@
]
},
"dependencies": {
"@antv/x6": "^1.28.2",
"@antv/x6": "^1.28.1",
"@umijs/preset-react": "1.x",
"antd": "^4.4.2",
"classnames": "^2.2.6",