typescript syntax cheat sheet code example
Example 1: typescript cheat sheet
// cheatsheets for typescript
https://devhints.io/typescript
Example 2: typescript cheat sheet 2020
let len: number = (input as string).length
let len: number = (<string> input).length /* not allowed in JSX */
Example 3: typescript cheatsheet
enum Color {Red, Green, Blue = 4}
let c: Color = Color.Green