I searched extensively online and came across resources like this: https://www.typescriptlang.org/docs/handbook/enums.html, but none provided an answer to my specific inquiry.
Within the enum generated by typescript-generator, I have the following:
type OptionGroup = "ADMISSION_SOURCE" | "ADMISSION_TYPE" | "LEVEL_OF_URGENCY";
Now, I am looking to assign it a value within a structure, as shown below:
someConfig: DependantConfig = {
noteRequired: false,
optionGroup: , //here
optionValueId: ''
};
How can I achieve this? Despite trying various methods, I haven't been able to find the correct one.