Thanks to visit codestin.com
Credit goes to github.com

Skip to content

πŸ› [BUG]: ERROR TS2589 Type instantiation is excessively deep and possibly infinite.Β #1886

@throrin19

Description

@throrin19

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

  1. Create typescript project
  2. Get code in the example https://vueflow.dev/examples/edges/connection-radius.html
  3. 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriageAwaiting triage

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions