Il tipo any negli array in TypeScript
Con il tipo any si può dichiarare
un array che contiene valori di tipo
arbitrario:
let arr: any[] = ['abs', true, 3];
Riscrivi il seguente codice in TypeScript:
let arr = [1, '2', '3', 4, 5];
console.log(arr);