-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[api-extractor] Namespace export created by import/export * does not remove exports that have been trimmed #3639
Comments
I also hit this issue. It still happens in api-extractor 7.38.3 and TypeScript 5.1.6. Our impacted package is https://github.com/microsoft/FluidFramework/tree/main/experimental/dds/tree2 . |
CraigMacomber
added a commit
to microsoft/FluidFramework
that referenced
this issue
Dec 4, 2023
## Description Cleanup some of the internal types which were exported in "internal" namespaces as implementation details of typing stuff. These namespaces, when they contain alpha items break beta releases due to an API-Extractor issue: microsoft/rushstack#3639 ## Breaking Changes Several "internal" types were moved/renamed and some `@alpha` flex tree types were renamed (mainly ones from the SchemaAware namespaces which was removed).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I am recreating TypeScript's namespaces using api-extractor and barrel files with exports; when I run api-extractor, things marked
@internal
are correctly removed, but are not removed from the recreated namespaces.Repro steps
Expected result: When everything but the pubic API is removed, the namespace exports should not contain those trimmed items.
Actual result: The namespace exports still contain the trimmed items.
Repro: https://github.com/jakebailey/api-extractor-export-star-internal-namespace
Details
Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/api-extractor
version?node -v
)?The text was updated successfully, but these errors were encountered: