TypeScript, this don't work outside constructor

后端 未结 0 1395
梦毁少年i
梦毁少年i 2021-01-16 16:56

I was trying to write class in TypeScript. But there was problem. I wanted to get data from async function and i cannot do this in constructor so i created new function insi

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