79. 构造元组

中等0

实现一个通用的工具类型 ConstructTuple<N>,接收一个正整数参数 N 构造一个指定长度的元组。

例如:

type result = ConstructTuple<2> // expected to be [unknown, unkonwn]
评论(0)
题库

TypeScript

加载中...