angular / tsickle

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

More fixes for enum type translation #1461

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

More fixes for enum type translation

In TS5.0, enum types are represented as a union of enum literals. Each literal in the enum is a ts.TypeFlags.Enum. Resolve enum members to their enum type name before translating the type.

FUTURE_COPYBARA_INTEGRATE_REVIEW=TGP