Open Arthur944 opened 1 month ago
Never mind, I just needed an "include": ["src", "../common/src"] in my packages/frontend/tsconfig.json
Actually, my original reproduction was incorrect, but the issue does exist. The current state of the reproduction repository shows the auto imports not working, and the branch "working-with-bun" shows the same code, just with yarn replaced with bun. On that branch auto imports work correctly.
Looks like it might be an issue in yarn itself https://github.com/yarnpkg/berry/issues/3999
Problem: When using a monorepo with yarn pnp, the auto import code action never lists options for other packages within the monorepo.
Here's a rerpoduction repository: https://github.com/Arthur944/typescript-tools-repro
(This happened on an M3 Macbook)