I had this method that gave me an error on the argument "items", which should be an array.
printRequest = (lang: string, items: Array) : Promise<any> => { ...
TS2552: Cannot find name 'array'. Did you mean 'Array'?
The solution is to properly cast the array. because in my case, there would be random arrays inside the items array, I had to do it like this:
printRequest = (lang: string, items: any[]) : Promise<any> => { ...