How to make a method return the type which is “saved” in a static property?

前端 未结 0 988
既然无缘
既然无缘 2021-02-02 13:44

I am a Typescript beginner and want to do something of the following:

class Field {
  static type = Object

  sanitize (a)          


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