Using Enum as key we can create ES6 Map that maps enum key to meaningful message. const FruitsName = new Map<number, string>([ [Fruits.APPLE, 'Yummy Apples'], [ ...
確定! 回上一頁