mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 19:58:46 +08:00
revert: typedefine PathArray is not exported
This commit is contained in:
parent
f3e4e4d391
commit
a474d23b0a
@ -1,5 +1,5 @@
|
|||||||
import { DisplayObject } from '@antv/g';
|
import { DisplayObject } from '@antv/g';
|
||||||
import { isArray, PathArray } from '@antv/util';
|
import { isArray } from '@antv/util';
|
||||||
import { ComboModel, ID, IGraph, NodeModel } from '../../../types';
|
import { ComboModel, ID, IGraph, NodeModel } from '../../../types';
|
||||||
import { ShapeStyle } from '../../../types/item';
|
import { ShapeStyle } from '../../../types/item';
|
||||||
import { isPolygonsIntersect } from '../../../util/shape';
|
import { isPolygonsIntersect } from '../../../util/shape';
|
||||||
@ -50,7 +50,8 @@ interface HullComponentFullOptions extends HullComponentOptions {
|
|||||||
export default class Hull {
|
export default class Hull {
|
||||||
graph: IGraph;
|
graph: IGraph;
|
||||||
|
|
||||||
path: PathArray;
|
// TODO: PathArray is not exported by @antv/util 2.x but by 3.x. Correct the type String | PathArray after upgrading @antv/util
|
||||||
|
path: any;
|
||||||
|
|
||||||
members: (NodeModel | ComboModel)[];
|
members: (NodeModel | ComboModel)[];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user