You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions at https://svelte.dev/blog/svelte-and-typescript to setup a Svelte + TypeScript project, and used this library successfully. But the "svelte validate" step fails with this error:
Error: Cannot find module 'svelte-fa' or its corresponding type declarations. (ts)
(Note, it can't find the module, which is why it's an error. Other components don't have type declarations, but can be found, and that results in a warning, not an error.)
I think this is because main in package.json is set to a svelte file, which I don't believe is correct.
The text was updated successfully, but these errors were encountered:
I followed the instructions at https://svelte.dev/blog/svelte-and-typescript to setup a Svelte + TypeScript project, and used this library successfully. But the "svelte validate" step fails with this error:
(Note, it can't find the module, which is why it's an error. Other components don't have type declarations, but can be found, and that results in a warning, not an error.)
I think this is because
main
inpackage.json
is set to a svelte file, which I don't believe is correct.The text was updated successfully, but these errors were encountered: