📝 Avoid using TypeScript's enums.
💡 This rule is manually fixable by editor suggestions.
Enforces that code doesn't use TypeScript's enums:
enum Values {}const Value = {} as const;
export type Value = (typeof Value)[keyof typeof Value];📝 Avoid using TypeScript's enums.
💡 This rule is manually fixable by editor suggestions.
Enforces that code doesn't use TypeScript's enums:
enum Values {}const Value = {} as const;
export type Value = (typeof Value)[keyof typeof Value];