"Cannot find module" for image files
Whenever I do something like I get a TS error of . Same goes for
.module.css
files, but .css
imports correctly.
I tried adding a declarations.d.ts
file:
Which I import in tsconfig, restart the TS server but the error persists:
It all compiles fine and the files are found, it's just an annoying TS error.
Any idea why this happens and how to fix this?0 Replies