How should the accumulator and current arguments for reduce() be typed?

前端 未结 0 373
挽巷
挽巷 2021-01-31 02:54

How should the accumulator and current arguments to reduce be typed?

interface CountriesContinent {
  continent: string;
  countries: string[];
}

interface Zebra         


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