Posts by João Eudes Lima • 206 points
1 post
-
4
votes1
answer240
viewsA: How to use Enum with hierarchy / nesting and subgroup
I don’t know if this might help you, but there is this alternative through Object const groupA = Object.freeze({ A1: "A1", A2: "A1", }) const groupB = Object.freeze({ B1: "A1", B2: "A1", }) const…