-
Notifications
You must be signed in to change notification settings - Fork 7
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
Types are not recognized when using TypeScript #8
Comments
This error seems with the version Rolling back to |
@RBFraphael or @konnng-dev happy to merge any PRs. But I took a quick look at this and SvelteKit is doing something that I don't understand. |
@robmadole I submitted a PR to address the issue. Feel free to take a look, I hope it helps you! 👍🏻 |
Thanks to @konnng-dev we've got a 0.2.2 released just now. @RBFraphael can you install this version and give it a try? |
Describe the bug
When using TypeScript, importing @fortawesome/svelte-fontawesome triggers an IDE-error saying "Cannot find module '@fortawesome/svelte-fontawesome' or its corresponding type declarations."
Reproducible test case
import { FontAwesomeIcon } from "@fortawesome/svelte-fontawesome";
Expected behavior
Desktop (please complete the following information):
Additional comments
Even with this errors, the app works correctly, so, there's no errors when running and/or building. So, this error is only for fixing the development process.
The text was updated successfully, but these errors were encountered: