-4

I need to remove the key: "incomeTax" inside of this structure how can I do that?

const hash: HashDetail = {
            arrTitle: [
                { date: 'Data', supporter: 'Apoiador', document: 'Documento', plan: 'Plano', payment: 'Pagamento', incomeTax: 'I.R.', value: 'Valor' }
            ],
        };
Fernanda
  • 59
  • 6

1 Answers1

0

You can delete the key using:

delete arrTitle[0]. incomeTax