Hello there, I am currently working with the pdfMake plugin in my Angular project. You can find the plugin here: https://github.com/bpampuch/pdfmake. I am facing a problem where I need to download multiple files with different document definitions. I have an array of Docs and when I loop through the array and call the download function, the files I get are all the same (reflecting the content of the last document in the array).
Strangely, when I log the array in the console, the documents appear to be different. I would greatly appreciate any solutions you might have for this issue. Your help is invaluable to me. Thank you in advance.