How can I push the item to the promise?

前端 未结 0 1073
眼角桃花
眼角桃花 2020-12-02 16:20

Property \'push\' does not exist on type \'Promise\'.

    return await relatedArticles.reduce(
      async (prevArticle: Promise

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