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
import MyImage from "$lib/assets/my-image.png?width=570";
// Cannot find module '$lib/assets/my-image.png?width=570' or its corresponding type declarations.
Mind you the actual image works fine, nothing is broken, but I'd really like to have zero TS errors in my project. Any idea on how to solve this?
The text was updated successfully, but these errors were encountered:
This works fine:
But this gives a TypeScript error:
Mind you the actual image works fine, nothing is broken, but I'd really like to have zero TS errors in my project. Any idea on how to solve this?
The text was updated successfully, but these errors were encountered: