Improve TSDoc comments for useEdges, useInternalNode, useNodes and useNodeId hooks

This commit is contained in:
Dimitri POSTOLOV
2025-04-05 17:44:33 +02:00
parent b9e4f82933
commit 934ea42d9a
5 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const edgesSelector = (state: ReactFlowState) => state.edges;
* will re-render **whenever any edge changes**.
*
* @public
* @returns An array of edges
* @returns An array of all edges currently in the flow.
*
* @example
* ```tsx