# enums 📝 Avoid using TypeScript's enums. 💡 This rule is manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions). Enforces that code doesn't use TypeScript's `enum`s: ## Invalid Code ```ts enum Values {} ``` ## Valid Code ```ts const Value = {} as const; export type Value = (typeof Value)[keyof typeof Value]; ```