Repro to show issue using "emitDeclarationOnly" and "composite".
To repro:
- clone this repro
- run
yarn
cd packages/emit-standard
yarn tsc
cd ../packages/emit-composite
-
yarn tsc
(although I don't think this should technically be needed for projrefs)
Open VSCode from repo root and open packages/consumer/src/index.ts
and note comments.