Typescript : match function input type to output type in Array.reduce function

前端 未结 0 359
轻奢々
轻奢々 2021-01-02 06:06

I run into a problem when trying to generate an object through Array.reduce function. This code will work without any issues in javascript. However in typescript I\'m not ab

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