来源:https://stackoverflow.com/questions/55374588/how-to-map-an-enum-to-another-enum-in-typescript 标签 typescript enums casting