how to gassign type for an array that can contain elements of different types ts code example Example: type script array let list: number[] = [1, 2, 3];