Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use this in typescript? #247

Closed
fogjoe opened this issue Aug 31, 2023 · 4 comments
Closed

how to use this in typescript? #247

fogjoe opened this issue Aug 31, 2023 · 4 comments

Comments

@fogjoe
Copy link

fogjoe commented Aug 31, 2023

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:
image
and my dependencies are as follows:
image
how can solve this problem? Or need i to use other chart libraries?

@adrai

This comment was marked as outdated.

@wirekang
Copy link

wirekang commented Feb 1, 2024

@liwei478 You installed wrong package: install flowchart.js instead of flowchart.

@wirekang
Copy link

wirekang commented Feb 1, 2024

@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
#212

@adrai
Copy link
Owner

adrai commented Feb 1, 2024

You're right... I forgot... too many open source projects 🤣

@adrai adrai closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants