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
+6
View File
@@ -0,0 +1,6 @@
---
'@xyflow/react': patch
'@xyflow/svelte': patch
---
Export NodeConnection type
+1
View File
@@ -106,6 +106,7 @@ export {
type FinalConnectionState, type FinalConnectionState,
type ConnectionInProgress, type ConnectionInProgress,
type NoConnection, type NoConnection,
type NodeConnection,
} from '@xyflow/system'; } from '@xyflow/system';
// we need this workaround to prevent a duplicate identifier error // we need this workaround to prevent a duplicate identifier error
+2 -1
View File
@@ -109,7 +109,8 @@ export {
type ResizeParams, type ResizeParams,
type ResizeParamsWithDirection, type ResizeParamsWithDirection,
type ResizeDragEvent, type ResizeDragEvent,
type IsValidConnection type IsValidConnection,
type NodeConnection
} from '@xyflow/system'; } from '@xyflow/system';
// system utils // system utils