
I do not repro though on my machine:

Can you post a sample code? Thanks
Sure, here is the the sample: https://github.com/wallverb/test
Clone, npm install and I get this:

Looks like it might be related to "baseUrl": "." in tsconfig.json
First screenshot was from project that had such tsconfig:
...
"baseUrl": ".",
"paths": {
"base/*": [
"base/*"
],
"common/*": [
"common/*"
],
"*": [
"node_modules/*"
]
}
I feel like you need to change this to
"*": [
"node_modules/@types/*"
"node_modules/*"
]
or just omit the entire "*" field if you're using "moduleResolution": "node"
@DanielRosenwasser - Thanks - first suggestion does the trick
If I omit entire '*' field and have "moduleResultion": "node" then I get this (I guess due to "baseUrl": "."):

Looks like there's an issue when it comes to using path mapping. Thanks!
Most helpful comment
Looks like there's an issue when it comes to using path mapping. Thanks!