// 类型别名 type CustomArray = (number | string)[] let arr: CustomArray = [1, 3, 5, 'a', 'b'] let arr1: CustomArray = ['c', '6']