benfred / venn.js

Area proportional Venn and Euler diagrams in JavaScript
MIT License
1.04k stars 218 forks source link

could not find a declaration file for module 'venn.js' in React #147

Open indhumathys0 opened 4 years ago

indhumathys0 commented 4 years ago

Hi,

import venn from "venn.js" and import * as from venn from "venn.js" is working fine in React. But getting below error while project team members taking pull and doing npm install to import the dependencies in the project. we need to install separately "npm install venn.js" , then it's working fine. But in server environment it will load the dependencies and throwing the below error.please provide a solution ASAP,

issue
sgratzl commented 4 years ago

I don't think that this version of the library comes with TypeScript typings. You could give my fork at https://github.com/upsetjs/venn.js a try