REPRO:
1) Create a API that exports original_symbol as _private_symbol.
2) Run ts-api-guardian on the with stripExportPattern to include any symbol that begins with _ (e.g. /^_/)
RECEIVED:
Exception: Symbol "original_symbol" was aliased as "_private_symbol". Aliases are not supported."
EXPECTED:
API golden file produced without error that doesn't include _private_symbol.
REPRO: 1) Create a API that exports
original_symbol
as_private_symbol
. 2) Runts-api-guardian
on the withstripExportPattern
to include any symbol that begins with_
(e.g. /^_/)RECEIVED: Exception:
Symbol "original_symbol" was aliased as "_private_symbol". Aliases are not supported."
EXPECTED: API golden file produced without error that doesn't include
_private_symbol
.