rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[api-extractor] Exports which shadow built-ins are included in incorrect report variants

Open Josmithr opened this issue 1 year ago • 4 comments
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

Josmithr avatar Jun 05 '24 18:06 Josmithr