ITADN

[BUG]: Getting "Cannot find module 'svelte-heros-v2/Plus.svelte' or its corresponding type"

#23OpenMadThad762 创建于 2023-10-02
bug
M
MadThad762commented
### 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_
3 条评论