aws js sdk error
I am trying to download a file from my buckect using js sdk. How to I convert the response body which is of type 'GetObjectCommandOutput' to a pdf?
Currently I am doing the following:
but i get this error:
Property 'arrayBuffer' does not exist on type 'StreamingBlobPayloadOutputTypes'.
Property 'arrayBuffer' does not exist on type 'Readable & SdkStreamMixin'.
0 Replies