Merge pull request #5124 from bjornosal/fix/missing-react-node-connection-export

chore: add missing type re-export for NodeConnection
This commit is contained in:
Moritz Klack
2025-03-30 17:21:03 +02:00
committed by GitHub
3 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
---
'@xyflow/react': patch
'@xyflow/svelte': patch
---
Export NodeConnection type

View File

@@ -106,6 +106,7 @@ export {
type FinalConnectionState,
type ConnectionInProgress,
type NoConnection,
type NodeConnection,
} from '@xyflow/system';
// we need this workaround to prevent a duplicate identifier error

View File

@@ -109,7 +109,8 @@ export {
type ResizeParams,
type ResizeParamsWithDirection,
type ResizeDragEvent,
type IsValidConnection
type IsValidConnection,
type NodeConnection
} from '@xyflow/system';
// system utils