Merge pull request #5703 from xyflow/fix/use-nodes-data-type

Improve return type of useNodesData
This commit is contained in:
Moritz Klack
2026-02-16 20:57:22 +01:00
committed by GitHub
7 changed files with 33 additions and 18 deletions

View File

@@ -0,0 +1,8 @@
---
'@xyflow/react': patch
'@xyflow/svelte': patch
'@xyflow/system': patch
---
Improve return type of useNodesData. Now you can narrow down the data type by checking the node type.