Typescript: Array type depending on previous array element

前端 未结 0 494
迷失自我
迷失自我 2020-12-20 01:41

Is it possible in Typescript to implement an infinite Array (not a Tuple) with a type that depends on the previous element of the array?

Here\'s some pseudo-typescrip

相关标签:
回答
  • 消灭零回复
提交回复
热议问题