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
+2 -2
View File
@@ -10,8 +10,8 @@ import type { InternalNode, Node } from '../types';
* including when a node is selected or moved.
*
* @public
* @param id - id of the node
* @returns array with visible node ids
* @param id - The ID of a node you want to observe.
* @returns The `InternalNode` object for the node with the given ID.
*
* @example
* ```tsx