for (const key in EnumObject) { console.log(key, EnumObject[key]); }
function enumKeys<O extends object, K extends keyof O = keyof O>(obj: O): K[] { return Object.keys(obj).filter(k => Number.isNaN(+k)) as K[]; }