refactor(core): add overloads to useVueFlow (#1481)

* refactor(core): add overloads to `useVueFlow`

* chore(changeset): add

* chore(core): cleanup
This commit is contained in:
Braks
2024-06-16 19:50:00 +02:00
parent 9b4e3b2656
commit 4fe1a7b541
5 changed files with 37 additions and 26 deletions

View File

@@ -0,0 +1,5 @@
---
"@vue-flow/core": minor
---
Add overloads to `useVueFlow`. Allows calling `useVueFlow` with an `id` string only while emitting a deprecation warning for using the options obj.