mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
fix typing
This commit is contained in:
parent
75ecb12cee
commit
4f3b9df48d
4
src/typings/types.d.ts
vendored
4
src/typings/types.d.ts
vendored
@ -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> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user