how to add typescript types to array values code example Example: type script array let list: number[] = [1, 2, 3];