Property does on exist on type when defining classes

后端 未结 0 1165
日久生厌
日久生厌 2020-12-13 19:09

If I have a class such as:

class X {
  a: number;

  constructor (inputA: number) {
    this.a = inputA;
  }

  f () {
         


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