TypeScript object type

前端 未结 0 1713
悲哀的现实
悲哀的现实 2021-01-17 23:12

I\'m trying to translate my JavaScript code to TypeScript. I don\'t know how to translate that code:

const COLOR_WHITE = 0;
const COLOR_BLACK = 1;

const CAST         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题