标签: typescript
const numbers: number[] = [1,2,3]
如果我有 [1,2,'a'],我应该声明什么类型?我不想使用 const foo[]: any = [1,2,'a']
[1,2,'a']
const foo[]: any = [1,2,'a']