Object.entries(statuses).map((data, i) => { // ... })
data: [string, number]
data: [number, number]
var a = { 0: 1, 1: 2, }; var b = Object.entries(a); console.log(typeof b[0][0]);// string console.log(typeof b[1][0]);// string console.log( Object.keys(a).map(key => typeof key) );// [string, string]