Error message on '$lib' imports
trasherdk opened this issue · comments
Describe the bug
Importing from $lib
in +page.svelte
gives errors, but works anyway.
Reproduction
The errors are available in The Context API
Expected behavior
Well, the errors should not be present, when the imports clearly works :lau
Screenshots
Additional context
No response
Mmm I bet this has to do with the classic error you get when you have to restart the TS server...we need to add something similar to restart svelte-check
Oh i just realized the error in this repl is because you don't have svelte-preprocess but you are trying to use lang="ts"
but we do still need to restart svelte-check
Yes, adding svelte-preprocess
to the config, got rid of the error messages 😄