百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#277·typescript-book-chinese

TS 的元组只能包含固定数量的成员

作者: ChangYanwei创建于 2022年9月10日更新于 2022年9月10日

In the TypeScript Type System - Overview - Tuple Types section, the article states that "tuples can contain any number of members," but in reality, tuples can only contain a fixed number of members. For example:

内容来源: jkchao/typescript-book-chinese

查看 GitHub 原文在 GitHub 查看讨论