TypeScript - Why is a static property that is set to a defined object not known at compile time to be defined?

后端 未结 0 343
终归单人心
终归单人心 2020-12-25 14:47

I\'m trying to access a static property of a class. I get the error Object is possibly \'undefined\' when I try to compile it. Why is a static property that is

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