TypeScript - Types from arrays
I found a frustration in the act of making arrays of acceptable values to use in input validation for closed lists when I'd already defined the same when setting the types. Could I find a way to set up the array once and use for both needs?