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
Updating TypeScript 4.4.4 => 4.5.2 broke TS typing - TS can't resolve type declarations from packages
Even though they are there and were working on TS 4.4.4
I double checked that with nodeLinker: node-modules TS has no problems and finds the typings in the node_modules folder, so this feels like somethings wrong with yarns pnp linker
Self-service
Describe the bug
I have a project using
3.1.0
withnodeLinker: pnp
Updating TypeScript 4.4.4 => 4.5.2 broke TS typing - TS can't resolve type declarations from packages

Even though they are there and were working on TS 4.4.4

I double checked that with
nodeLinker: node-modules
TS has no problems and finds the typings in thenode_modules
folder, so this feels like somethings wrong with yarnspnp
linkerTo reproduce
Repo with minimal React app setup and all required dependencies
https://github.com/kputnins/ts-yarn-bug
You can run

yarn tsc
to run the projects TS with--noEmit
to see the problemsEnvironment
Additional context
No response
The text was updated successfully, but these errors were encountered: