Yazan Alaboudi
Here's the issue that plagues only numeric enums, and not string enums:
enum Animal {
Lion,
Tiger,
}
const justANumber: number = 5;
const myAnimal: Animal = justANumber;
Typescript made this historical error at some point and never tried to remedy it, let's say, by introducing a config such as strictNumericEnums: boolean.