Typescript what “await is redundent here”

前端 未结 0 1196
深忆病人
深忆病人 2020-12-09 01:00

In WebStorm I am getting the warning bellow.
What await is redundent if the function is async, and I want to return the value and not the promise.
Thanks

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