enum Team {
Attacker,
Defender
}
type TeamKeys = keyof typeof Team; // "Attacker" | "Defender"
let enums = Object.keys(SomeEnum).filter(x => x === yourValue));
let enums = Object.keys(SomeEnum).filter(x => !(parseInt(x) >= 0));
console.log("Enums", enums); //Enums: A, B, C, D