You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works for properties that are already effectively Record<string, T>, but I am not sure what we want to do with arrays. There's maybe value in preserving the literal values of things like CONST.WORLD_DOCUMENT_TYPES, etc.
The text was updated successfully, but these errors were encountered:
Yeah I probably would recommend not converting arrays. They can act like pseudo-enums but you're supposed to refer to them by value. Going around and doing WORLD_DOCUMENT_TYPES[3] would be silly, just write "Combat".
Lots of properties in CONST are currently in the form
The repo has been moving towards using the new Brand type like so:
This works for properties that are already effectively
Record<string, T>
, but I am not sure what we want to do with arrays. There's maybe value in preserving the literal values of things likeCONST.WORLD_DOCUMENT_TYPES
, etc.The text was updated successfully, but these errors were encountered: