📜  混合数组打字稿 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:33.645000             🧑  作者: Mango

代码示例2
const foo: [number, string] = [ 1, "message" ];