It Says:
Referenced projects must have the new
composite
setting enabled. This setting is needed to ensure TypeScript can quickly determine where to find the outputs of the referenced project. Enabling thecomposite
flag changes a few things:
See https://www.typescriptlang.org/docs/handbook/project-references.html#composite