sveltejs / sapper-template

Starter template for Sapper apps
703 stars 215 forks source link

Added an ambient type declaration for allowing image imports #282

Closed ehrencrona closed 3 years ago

ehrencrona commented 3 years ago

This fixes #281 or at least it fixes svelte-check.

The import is still reported as an error in VSCode but I suspect that is the same thing as sveltejs/language-tools#610

(There are plenty more file types we theoretically could add; not sure if it makes sense to add all of them from the beginning)