loopback4-s3
loopback4-s3 copied to clipboard
TypeScript Error When Using getSignedUrl Function from the Package
Description While using the getSignedUrl function from the package, I encountered the following TypeScript error: Argument of type 'GetObjectCommand' is not assignable to parameter of type 'Command<GetObjectCommandInput, MetadataBearer, any, ServiceInputTypes, MetadataBearer>'.
To Reproduce: Steps to reproduce the issue:
Use the getSignedUrl function with S3 commands, specifically GetObjectCommand.
Expected Behavior: The getSignedUrl function should work without any TypeScript errors.
Actual Behavior: Currently, the function does not work as expected and throws a TypeScript error.
Screenshots: