Here is the code snippet that I am working with:
FilesToBlock: []; //defined in this class
//within a method of the class
this.FilesToBlock = [];
this.FilesToBlock.push({file: blockedFile, id: fileID});
However, I'm encountering an issue with file
and id
inside the object being pushed into the array.