Merge pull request #5294 from xyflow/fix/svelte-edge-data
Fix/svelte edge data
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'@xyflow/svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix data in EdgeProps not typed correctly
|
||||||
@@ -85,8 +85,6 @@ export type EdgeProps<EdgeType extends Edge = Edge> = Omit<
|
|||||||
'sourceHandle' | 'targetHandle'
|
'sourceHandle' | 'targetHandle'
|
||||||
> &
|
> &
|
||||||
EdgePosition & {
|
EdgePosition & {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
||||||
data?: any;
|
|
||||||
type: string;
|
type: string;
|
||||||
markerStart?: string;
|
markerStart?: string;
|
||||||
markerEnd?: string;
|
markerEnd?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user