how to iterate through a string enum in typescript code example
Example: typescript iterate over enum
for (const key in EnumObject) {
console.log(key, EnumObject[key]);
}
for (const key in EnumObject) {
console.log(key, EnumObject[key]);
}