📜  ts 枚举 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:15.051000             🧑  作者: Mango

代码示例3
enum Direction {
  Up = 1,
  Down,
  Left,
  Right,
}
Try