Typescript - How to solve “ Type 'undefined' is not assignable to type 'XXXX' ”?

后端 未结 0 1972
小蘑菇
小蘑菇 2020-12-19 10:30

I have interface defined with some properties. When trying to access the service I am getting this error - Type \'undefined\' is not assignable in displayfile at this.

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