I'm very new to JS. I created a custom type called "Stage". I would like to convert strings to these types. The strings will be only ever equal one of these values exactly (first letter capitalized, written the same). I've been trying to accomplish something using .find() but this doesn't appear to be the route to go as it takes in an array. Any help is appreciated!
type Stage = 'First' | 'Second';