ESLint: ⚠️ "Nesting ternary expressions can make code more difficult to understand."

TypeScript:

ESLint:
⚠️ "Nesting ternary expressions can make code more difficult to understand."
TypeScript: | Сетка — социальная сеть от hh.ru