How to use yarn workspaces with typescript and out folders?
问题 I'm trying to set up a monorepo using yarn. I'm confused as to how to set up typescript with project references such that things resolve properly. For example, if I have a folder structure like /cmd /client And I want cmd to depend on client I could have: cmd/tsconfig.json : { "compilerOptions": { "types": ["reflect-metadata", "jest"], "experimentalDecorators": true, "emitDecoratorMetadata": true, "moduleResolution": "node", "declaration": true, "importHelpers": true, "composite": true,