typescript list cheatsheet code example Example: typescript cheatsheet enum Color {Red, Green, Blue = 4} let c: Color = Color.Green