loopback4-s3 icon indicating copy to clipboard operation
loopback4-s3 copied to clipboard

TypeScript Error When Using getSignedUrl Function from the Package

Open nitinjhaSF opened this issue 7 months ago • 0 comments

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:

Image

nitinjhaSF avatar Mar 20 '25 05:03 nitinjhaSF