TypeScipt enum

enum Direction {
  Up = 1,
  Down,
  Left,
  Right,
}
Try
Wide-eyed Willet