Typescript: create a method, returning the type of which was determined depending on the class

前端 未结 0 1641
情话喂你
情话喂你 2021-01-16 14:21

I want to set a method in the parent class, the return value of which would be determined depending on the type of the value field.

class A {
            


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