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

typescript import #149

Closed
minhquan1313 opened this issue Sep 18, 2023 · 4 comments
Closed

typescript import #149

minhquan1313 opened this issue Sep 18, 2023 · 4 comments

Comments

@minhquan1313
Copy link

image
I got this issue when importing it, I'm using vite react + swc
Here is my package json
image
and tsconfig
image
image

@enzogoncalves
Copy link

@minhquan1313 could you solve this problem? if yes, please share your solution. I am having the same issue.

@minhquan1313
Copy link
Author

@minhquan1313 could you solve this problem? if yes, please share your solution. I am having the same issue.

image
hehe just to turn that error off, create a .d.ts file and add these lines, and props I have to manually add by API of the official flickity doc :>

@AaronJY
Copy link
Contributor

AaronJY commented Oct 13, 2023

I've raised a PR to fix this! #150 (pinging @enzogoncalves in case you're still struggling with this)

@yaodingyd
Copy link
Owner

v4.0.7 should fix this

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

4 participants