chore(types): omit defaultValue from Node and Edge type for Svelte Flow

This commit is contained in:
moklick
2025-07-29 13:42:52 +02:00
parent 0c6f66ae67
commit 340fc9279e
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export type Edge<
*/
domAttributes?: Omit<
SVGAttributes<SVGGElement>,
'id' | 'style' | 'class' | 'role' | 'aria-label'
'id' | 'style' | 'class' | 'role' | 'aria-label' | 'defaultValue'
>;
};
+1
View File
@@ -38,6 +38,7 @@ export type Node<
| 'draggable'
| 'role'
| 'aria-label'
| 'defaultValue'
| keyof DOMAttributes<HTMLDivElement>
>;
};