module resolution is confused
chnliquan opened this issue · 5 comments
chnliquan commented
chnliquan commented
I think that when resolution @types/moduleB
it will treat it as a folder (similar to node resolution), but I don't know which step it performed this process. I didn't explicitly according to the example.
chnliquan commented
can anybody help me to solve it ?
Vinnl commented
I have no idea what this is about and am not familiar with the handbook @chnliquan, so I'm not sure why you tagged me...
zhongsp commented
The content from handbook is not that "correct". It will check /root/src/node_modules/@types/moduleB.d.ts
. AND it will also check /root/src/node_modules/@types/moduleB/
directory if it contains a package.json
file.