returning data from then() returns Promise instead of Promise

前端 未结 0 1771
感动是毒
感动是毒 2020-12-05 23:08

I\'m getting data from an API as follows:

export const getSymbolStats = async (symbol: string) => {
let requiredData: IRequiredSymbolStats;
let request: Pr         


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