TS 定义一个最简单的元组

index.ts

const lilei: [string, number] = ["Lilei", 23]
原文地址:https://www.cnblogs.com/aisowe/p/15246045.html