TS 定义一个最简单的元组

index.ts

const lilei: [string, number] = ["Lilei", 23]

posted on 2021-09-09 10:51  aisowe  阅读(239)  评论(0编辑  收藏  举报

导航