You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
but in the real project, there is no node_modules/@types/moduleB.d.ts, it only has a node_modules/@types/moduleB directory,
it is confused that resolution strategy by handhook, please show the hole strategy of module resolution
The text was updated successfully, but these errors were encountered:
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.
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In this handhook, the module resolution is that:
but in the real project, there is no node_modules/@types/moduleB.d.ts, it only has a node_modules/@types/moduleB directory,
it is confused that resolution strategy by handhook, please show the hole strategy of module resolution
The text was updated successfully, but these errors were encountered: