Converts a TypeScript AST to a map of type aliases.
AST node to traverse.
Accumulator map of type aliases.
Optional
Parent module name for nested namespaces.
Map of type alias declarations keyed by name.
Converts a TypeScript AST to a map of type aliases.