Disallow the use of const enums (no-const-enum) This rule disallows the use of const enums. Rule Details Examples of incorrect code for this rule: const enum Foo { Bar = "Bar", Baz = "Baz", } Examples of correct code for this rule: type Foo = "Bar" | "Baz";