Skip to content

TypeScript Error When Using getSignedUrl Function from the Package #223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nitinjhaSF opened this issue Mar 20, 2025 · 0 comments
Open

Comments

@nitinjhaSF
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant