only import G6 types

This commit is contained in:
codetypes committed 2025-03-01 16:05:02 +08:00
1 parent 5051e2aefb
commit b04b8de22b
6 files changed
+84 -53

No files matched your search

+2 -2
View File
@@ -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];