I declared a form data like this: public data: FormData = new FormData();. I'm trying to inspect it. The problem is that I try with console.log(data) and also with data.entries():
for (let pair of data.entries()) {
console.log(pair[0]+ ', ' + pair[1]);
}
but I get this error: Property 'entries' does not exist on type 'FormData'. How can I inspect it?