TS 定义一个最简单的字符串数组类型

index.ts

const foo: string[] = ["foo", "bar"]

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

导航