Tapez le tableau de script
let list: number[] = [1, 2, 3];
Bewildered Baboon
let list: number[] = [1, 2, 3];
const animals = ['cat', 'dog', 'mouse'] as const
type Animal = typeof animals[number]
// type Animal = 'cat' | 'dog' | 'mouse'
var alphas:string[];
alphas = ["1","2","3","4"]
console.log(alphas[0]);
console.log(alphas[1]);
let list: number[] = [1, 2, 3];