戈壁老王 - 神奇的TypeScript枚举 的评论
type: channel
link: https://www.wangyiming.hn.cn/index.php/archives/4/
description: 数字枚举默认情况下就是数字枚举enum Gender { Male, Female}console.log(Gender.Male);console.log(Gender.Female);数...