Given an index.ts such as:
import * as d from './d';
export * from './A';
export * from './B';
export * from './C';
export {
d
};
The generated .apt.ts only produces valid output for A, B and C, whereas d produces things like:
// WARNING: The name ""<path>/lib/dts/d/index"" contains unsupported characters; API names should use only letters, numbers, and underscores
and
module "<path>/lib/dts/d/index" {
This sort of local namespacing and export pattern is used throughout our codebase, so any workarounds would be welcome.
Given an
index.tssuch as:The generated
.apt.tsonly produces valid output forA,BandC, whereasdproduces things like:// WARNING: The name ""<path>/lib/dts/d/index"" contains unsupported characters; API names should use only letters, numbers, and underscoresand
module "<path>/lib/dts/d/index" {This sort of local namespacing and export pattern is used throughout our codebase, so any workarounds would be welcome.