I have a 2-field object like this
{ id: number, name: string }
...and want to remove the name
item.
How do I accomplish that in TypeScript? I've tried using filter, delete etc but all I get is
TS2339: Property 'filter' does not exist on type '{}'.
I think this relates to this question What is "type '{}'"? but I need help to figure it out.