angular / tsickle

Tsickle — TypeScript to Closure Translator
MIT License
896 stars 110 forks source link

Fix enum declaration merging in unoptimized namespaces #1489

Open copybara-service[bot] opened 10 months ago

copybara-service[bot] commented 10 months ago

Fix enum declaration merging in unoptimized namespaces

In build targets with --allow_unoptimized_namesapces, emit enum declarations as var E = {...} instead of const. That fixes compilation errors when a namespace is merged with the enum.