"Cannot find module or its corresponding type declarations.ts(2307)"
Hey there, I'm having trouble importing my types and constants with the @ directive. It used to work like this:
But now I'm getting "Cannot find module '@/constants/routes' or its corresponding type declarations.ts(2307)"
When I try to access the files without @ it works.
Why is that?
1 Reply
Solved it. I accidentally had this line in my tsconfig