How do you express option/enum types without enums? And if you do that, isn't it more of an unsupported way of doing things than using the native enum type?
type Option = “foo” | “bar"There is an example in the "Objects vs Enums" section of the Enum docs, at the bottom of the page: https://www.typescriptlang.org/docs/handbook/enums.html#obje...