[BUG]: ERROR TS2589 Type instantiation is excessively deep and possibly infinite.
Author: throrin19Created Jun 30, 2025Updated Jun 6, 2026
Labelsbugtriage
Is there an existing issue for this?
- I have searched the existing issues and this is a new bug.
Current Behavior
Hello, I have a problem with vue-flow after upgrade from 1.44.0 to 1.45.0 with typescript.
I reproduce the example made here : https://vueflow.dev/examples/edges/connection-radius.html
But I have this error in my code :
closest.node = closestNode.node; // ERROR TS2589 Type instantiation is excessively deep and possibly infinite.Expected Behavior
No error TS2589
Steps To Reproduce
- Create typescript project
- Get code in the example https://vueflow.dev/examples/edges/connection-radius.html
- You have error TS2589
Minimal reproduction of the issue with CodeSandbox
No response
Relevant log output
Anything else?
In previous version (1.44.0) there is no TS error for that.
Source: bcakmakoglu/vue-flow