I'm new to typescript, my Objective is to get the object and represent in UI, but i'm getting the object as
{
name: "ABC",
age: 5
}
I'm getting error in this way ***Property 'name' does not exist on type 'object'***
Can anyone please help me in this query?