fix typing

This commit is contained in:
AykutSarac 2022-10-05 20:33:50 +03:00
parent 75ecb12cee
commit 4f3b9df48d

View File

@ -2,8 +2,8 @@ type CanvasDirection = "LEFT" | "RIGHT" | "DOWN" | "UP";
interface CustomNodeData {
isParent: true;
hasChild: !!children.length;
children;
hasChild: number;
children: NodeData[];
}
interface NodeData<T = any> {