niieani/typescript-vs-flowtype

Typescript Enum

Open

#57 opened on Jun 11, 2019

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

Repository metrics

Stars
 (1,728 stars)
PR merge metrics
 (No merged PRs in 30d)

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