I also have a problem like this inside a monorepo, and just reinstalling the deps with `yarn` solves it. It's happened a few times. Don't know it could be something to do with the `yarn.lock` file getting out of sync after merging branches or something. The regenerated lock filed always shows a diff around the package referenced in the TS error.
Don't really understand what's going on but hope that helps someone.