6 lines
155 B
TypeScript
6 lines
155 B
TypeScript
|
const v: Color = Color.Green;
|
|||
|
const v2: ConstColor = ConstColor.Green;
|
|||
|
enum Color { Red, Green, Blue }
|
|||
|
const enum ConstColor { Red, Green, Blue }
|
|||
|
|