niieani / typescript-vs-flowtype

Differences between Flowtype and TypeScript -- syntax and usability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript Enum

itayronen opened this issue · comments

Typescript enums feature is very useful.
Its much better than literal types in most cases.
Its much easier to maintain. Renaming an enum value is possible out of the box, while a literal type requires a full project text search.

Please feel free to open a PR describing this TypeScript-only feature :)

Thanks!