Merge pull request #5703 from xyflow/fix/use-nodes-data-type
Improve return type of useNodesData
This commit is contained in:
8
.changeset/old-laws-melt.md
Normal file
8
.changeset/old-laws-melt.md
Normal 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.
|
||||
|
||||
Reference in New Issue
Block a user