前端基础TypeScript数组类型anyany一个比较常见的做法是,用 any 表示数组中允许出现任意类型:let list: any[] = ["xcatliu", 25, { website: "http://xcatliu.com" }];