Summary
3rd party package API's with @internal annotation are not removed when publicTrimmedFilePath is used.
3rd party package == any dependency installed outside actual repo
Repro steps
Link to whole repro
Steps:
- run
yarn build
- check output:
check packages/one/dist/public.d.ts:

- ✅
internalOne has been stripped as expected (inside package API)
- 🐛
Attributes re-export hasn't been stripped (3rd party/node_modules package) - This should have been removed !
Standard questions
Please answer these questions to help us investigate your issue more quickly:
| Question |
Answer |
@microsoft/api-extractor version? |
7.24.2 |
| Operating system? |
Linux/Mac |
| API Extractor scenario? |
rollups (.d.ts) |
| Would you consider contributing a PR? |
Maybe |
| TypeScript compiler version? |
4.6.4 |
Node.js version (node -v)? |
14.8.1 |