Relative path to the next file [TS]
Hello there!
I've been struggling much about cracking this issue but no win so far :(
I have a typescript package.
I want to resolve my module correctly by IDEA, so I can CMD+Click and go to declaration.
However, as you can see on the screenshot Intellij IDEA wierdly resolves relative path to file with the same folder name.
What's interesting, if I hover with CMD + Option, Intellij IDEA shows correct path for module.
The project and bundling works just fine, the problem only in `Go to declaration` feature and also IDEA shows that I don't use any methods in a correct `actions.ts` file and greyed them out (but I use them in the codebase).
What can be wrong and mess with the IDEA? Where can I find a possible solution?
Let me know if you need some more information in order to help me with this issue!


请先登录再写评论。
have never faced issues like that. Can you reproduce the issue in a new project? Do you have tsconfig.*.json files in your project, what do they look like?
Elena Pogorelova thanks for the answer! Your question led me to remove
"paths": {"*": [
"src/*"
]
},
from the tsconfig.json and it worked out. My bad :((
Sorry for the inconvience and thanks for the help!
Fine, thanks for letting me know:)