niieani/typescript-vs-flowtype

Typescript Enum

Open

#57 opened on Jun 11, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees) (76 forks)github user discovery
help wanted

Repository metrics

Stars
 (1,727 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide