-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The latest library version contains a dependency on the @types/cytoscape
package, but the latest versions of cytoscape
have native types built-in and @types/cytoscape
is effectively deprecated.
The problem is, when installing cytoscape-layers
we also get @types/cytoscape
automatically pulled into our project, and those types mess up with the proper types from the cytoscape
package.
To Reproduce
npm i cytoscape-layers
&npm i cytoscape
import cy from cytoscape
in the typescript context- See the types being used - they come from
@types/cytoscape
instead ofcytoscape
Expected behavior
Dependency on @types/cytoscape
should be removed, and peer dependency on the cytoscape
package should be updated to the minimum of 3.31.
Context
- Version: 3.0.0
- Browser: Any
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working