Expected Behaviour
ts-loader should not report TS2305
Actual Behaviour
ts-loader report TS2305 error
Steps to Reproduce the Problem
- clone https://github.com/xbtsw/typescript-pnpm
npm i -g pnpm
pnpm install
- run
npm run tsc and observe that the compilation success
- run
npm start and observe error
This happens to both Linux and Windows 10 host.
Location of a Minimal Repository that Demonstrates the Issue.
https://github.com/xbtsw/typescript-pnpm
It looks like the type information is not visible to TypeScript when the dependency are symlinked and are compiled via ts-loader. I am willing to look into it but not sure where to start.
Expected Behaviour
ts-loader should not report TS2305
Actual Behaviour
ts-loader report TS2305 error
Steps to Reproduce the Problem
npm i -g pnpmpnpm installnpm run tscand observe that the compilation successnpm startand observe errorThis happens to both Linux and Windows 10 host.
Location of a Minimal Repository that Demonstrates the Issue.
https://github.com/xbtsw/typescript-pnpm
It looks like the type information is not visible to TypeScript when the dependency are symlinked and are compiled via
ts-loader. I am willing to look into it but not sure where to start.