niieani / typescript-vs-flowtype

Differences between Flowtype and TypeScript -- syntax and usability
MIT License
1.74k stars 78 forks source link

Typescript Enum #57

Open itayronen opened 5 years ago

itayronen commented 5 years ago

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.

niieani commented 5 years ago

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

Thanks!