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

View File

@@ -1,5 +1,6 @@
---
'@xyflow/react': patch
'@xyflow/svelte': patch
---
Omit `defaultValue` from `Node`'s `domAttributes` to fix type incompatibility with `WritableDraft<Node>`
Omit `defaultValue` from `Node`'s and `Edge`'s `domAttributes` to fix type incompatibility when using `WritableDraft`