I am looking for a way to remove keys from objects within another object using TypeScript.
let before = {
'0': {
'title':'title 1',
'time':'12.30pm',
},
'1': {
'title':'title 2',
'time':'12.30pm',
},
'2': {
'title':'title 3',
'time':'12.30pm',
},
}
The desired outcome is,
let after = [
{
'title':'title 1',
'time':'12.30pm',
},
{
'title':'title 2',
'time':'12.30pm',
},
{
'title':'title 3',
'time':'12.30pm',
}
]