The SymbolAnalyzer currently relies on TypeScriptHelpers.getImmediateAliasedSymbol() for determining whether a symbol was imported from an external package, and if so what module path was used to import it.
This approach cannot handle export * from '____' constructs, because there is no symbol alias that can be used to discover the export line. In API Extractor 6 this problem mostly affects the .d.ts rollups. For the API report, it simply includes extra definitions that technically belong to an external package.
For API Extractor 7 this problem is more serious, because everything uses the .d.ts rollups engine.
I have a plan to improve the SymbolAnalyzer, but it needs to wait until the initial AE7 branch is merged.
The SymbolAnalyzer currently relies on
TypeScriptHelpers.getImmediateAliasedSymbol()for determining whether a symbol was imported from an external package, and if so what module path was used to import it.This approach cannot handle
export * from '____'constructs, because there is no symbol alias that can be used to discover theexportline. In API Extractor 6 this problem mostly affects the .d.ts rollups. For the API report, it simply includes extra definitions that technically belong to an external package.For API Extractor 7 this problem is more serious, because everything uses the .d.ts rollups engine.
I have a plan to improve the SymbolAnalyzer, but it needs to wait until the initial AE7 branch is merged.