-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
svelte-check error when using ComponentType<Icon> #2114
Comments
Same here at |
I'm facing with same problem, hope there will be a PR to fix this soon. |
I'm still experiencing this issue with version |
I'm still having the issue with |
I can confirm this still happens in 0.379.0 as well. The error message from svelte-check is now different, however:
The full output from my original test project (updated to 0.379.0) is as follows:
|
Happening for me as well! |
Package
Version
0.376.0
Can you reproduce this in the latest version?
Browser
Operating system
Description
When using the latest version of lucide-svelte (0.376.0 and 0.376.1), using the pattern described on the Lucide website to pass icon components causes the following error in
svelte-check
:Steps to reproduce
Follow the steps documented on the Lucide website to create a new project using the Svelte library, then copy the typescript example from the Types section and run svelte-check.
npm install lucide-svelte
+page.svelte
file and replace its contents with the example contents from the Types section on the Lucide website:npm run check
Checklist
The text was updated successfully, but these errors were encountered: