rushstack
rushstack copied to clipboard
[api-extractor] Exports which shadow built-ins are included in incorrect report variants
trafficstars
In cases where API exports are aliased to avoid collisions with built-ins, export statements are surfaced in all API report variants regardless of release tag.
This was not an issue prior to the reportVariants feature, but there are now cases where exports that are aliased to avoid conflicts with built-ins result in export statements being included in reports of incorrect release variants.
See this draft PR for a repro of the issue: https://github.com/microsoft/rushstack/pull/4761