-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
This looks like you're trying to handroll an enum. Enums under the hood are integer indexed I believe, so you could just make an enum for this and grab the values that way.
https://bobbyhadz.com/blog/typescript-convert-enum-to-string
Don't forget that enums are PascalCase for both their own name as well as the items defined in them.
Originally posted by @Amndeep7 in #10 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels