I have an application in Angular 13. I have imported cytoscape.js following these steps:
- Install cytoscape using
npm install --save-exact cytoscape - Install cytoscape types using
npm install --save-dev --save-exact @types/cytoscape
Now Cytoscape.js works , I created a graph. But I can't import any extension:
I need to import an extension from the library, but cannot import any of them. I have this error:
The plugin library did not have a type definition that make "import * as cytoscape
from 'cytoscape';" not possible