TypeScript “The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type”

后端 未结 0 856
-上瘾入骨i
-上瘾入骨i 2021-02-09 11:27

I have array of object with this interface

interface Item {
country: string;
cases: number;
deaths: number;
population: number;
}

I want to make

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