only import G6 types
This commit is contained in:
1 parent
5051e2aefb
commit
b04b8de22b
6 files changed
+84
-53
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
import { TreeGraphData as G6TreeGraphData } from "@antv/g6";
|
||||
import { NodeDef } from "../behavior3/src/behavior3";
|
||||
import type { TreeGraphData as G6TreeGraphData } from "@antv/g6";
|
||||
import type { NodeDef } from "../behavior3/src/behavior3";
|
||||
|
||||
export type NodeType = NodeDef["type"] | "Other" | "Error";
|
||||
export type NodeArg = Exclude<NodeDef["args"], undefined>[number];
|
||||
|
||||
Reference in new issue
Block a user