Typescript destructure ArrayLike generic type to base type e.g given A find I in: A = ArrayLike

前端 未结 0 597
误落风尘
误落风尘 2020-12-19 07:21

I want to achieve the following, which is illegal.

class Test> {
  arr: ArrayLike;
           


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