TypeScript: reduce function - No overload matches this call

后端 未结 0 1113
故里飘歌
故里飘歌 2021-01-14 06:31

Trying to write a basic reducer to return an array of (value of) a key from an array of objects. Some of the key can be missing or undefined.

My code:

         


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