-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Error when importing leaflet-geosearch using Vite/Typescript 5 #370
Labels
Comments
I have exactly the same problem, I also hope to get a solution. |
same problem here 😢 |
achmadk
added a commit
to achmadk/leaflet-geosearch
that referenced
this issue
Oct 4, 2023
…ipt 5 add `types` value into `exports`.[`.`] inside package.json file fix smeijer#370
smeijer
pushed a commit
that referenced
this issue
Oct 4, 2023
fix #370 If it's not too much trouble, could you please add the `hacktoberfest-accepted` tag to this PR?
🎉 This issue has been resolved in version 3.10.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm attempting to use leaflet-geosearch in a React Typescript project created with Vite's react-ts template. I've done
npm install leaflet-geosearch
and imported it this way:Unfortunately typescript throws this error:
I've messed around with this for a while but can't get it to go away. I have no issues with the import or the types in a different React Typescript project that was created using create-react-app and Typescript version 4.
The text was updated successfully, but these errors were encountered: