Closed fogjoe closed 8 months ago
flowchart.js has no types and since TypeScript is a superset of JavaScript, there should be no problem
@liwei478 You installed wrong package: install flowchart.js
instead of flowchart
.
@adrai Looks like you forgot that somebody added types for this awesome project(4 years ago 👍🏼).
https://github.com/adrai/flowchart.js/blob/master/types/index.d.ts
https://github.com/adrai/flowchart.js/pull/212
You're right... I forgot... too many open source projects 🤣
Nowdays, i plan to use in vue3, typescript, vite, but when i install the flowchart, it tips me to install the type, so i install the type package, but the error occurs: and my dependencies are as follows: how can solve this problem? Or need i to use other chart libraries?