I was getting an erro with this code:

{Object.entries(obj).map(([item, result], index2) => {

 Error: 'result' is of type 'unknown'.ts(18046)

and this how I changed it to get rid of the errors in my react typescript application:

{Object.entries(obj).map(([item, result]:any, index2) => {

 

Do you see the difference? Yes :any,