Merge pull request #5294 from xyflow/fix/svelte-edge-data
Fix/svelte edge data
This commit is contained in:
5
.changeset/friendly-monkeys-fry.md
Normal file
5
.changeset/friendly-monkeys-fry.md
Normal file
@@ -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'
|
||||
> &
|
||||
EdgePosition & {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
data?: any;
|
||||
type: string;
|
||||
markerStart?: string;
|
||||
markerEnd?: string;
|
||||
|
||||
Reference in New Issue
Block a user