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:
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
'@xyflow/react': patch
|
||||||
|
'@xyflow/svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Export NodeConnection type
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user