Open thadkrugman opened 9 months ago
Can you delete your node_modules directory and lock file (pnpm-lock.yml) and install it again.
Can you delete your node_modules directory and lock file (pnpm-lock.yml) and install it again.
I tried that but it didn't fix the error. I also tried restarting the TS server with no luck.
Description of the bug
When importing an icon using this method import Plus from 'svelte-heros-v2/Plus.svelte';, I get an error saying "Cannot find module 'svelte-heros-v2/Plus.svelte' or its corresponding type".
importing as import { Plus } from 'svelte-heros-v2': works also but without the error.
The code runs but I need to get rid of the error. I have the latest version of everything installed.
Steps To Reproduce
Try to import an icon in a svelte component.
Additional Information
No response