I\'m working on an ng2 implementation. I\'m using the following function call to convert an object to an array:
var authors = Object.entries(responseObject.A
The accepted answer didn't work for me, but I adapted the answer from Property 'assign' does not exist on type 'ObjectConstructor' like this:
const changedFields = (Object).entries(this.ngForm.form.controls) .filter(value => value[1].dirty);
Sharing for anyone with the same situation