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