typescript cheat sheet 2021 code example
Example: typescript cheat sheet 2020
let len: number = (input as string).length
let len: number = (<string> input).length /* not allowed in JSX */
let len: number = (input as string).length
let len: number = (<string> input).length /* not allowed in JSX */