TypeScript class factory expects an intersection

后端 未结 0 1993
抹茶落季
抹茶落季 2021-01-29 08:31

I have the following class factory pickSomething that creates a type based on a passed in key from a ClassMap:

class A {
  keya = "         


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