Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 446 Bytes

no-enum.md

File metadata and controls

16 lines (9 loc) · 446 Bytes

Avoid enum declarations (no-enum)

This rule forbids enum declarations. TypeScript enums generate code and that sometimes isn't what's wanted. Literal types can be used instead.

Options

This rule has no options.

Related to

Further reading