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