Returns the allowed input for an enum.
enum Direction { Left, Right };type DirectionInput = GetEnumFrom<Direction>; // "Left" | "Right" | 0 | 1 Copy
enum Direction { Left, Right };type DirectionInput = GetEnumFrom<Direction>; // "Left" | "Right" | 0 | 1
Returns the allowed input for an enum.