fix: cast ListObjectsV2Command to any to fix type mismatch with @aws-sdk/middleware-endpoint
After bumping aws-sdk packages, @smithy/middleware-endpoint and @aws-sdk/middleware-endpoint have incompatible EndpointParameterInstructions types. Since this is already a workaround, casting to any is appropriate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Fredrik Adelöw <freben@spotify.com>
This commit is contained in:
@@ -179,7 +179,7 @@ export class AwsS3EntityProvider implements EntityProvider {
|
||||
{
|
||||
Bucket: bucketName,
|
||||
},
|
||||
ListObjectsV2Command,
|
||||
ListObjectsV2Command as any,
|
||||
this.s3.config as unknown as Record<string, unknown>,
|
||||
);
|
||||
if (endpoint?.url)
|
||||
|
||||
Reference in New Issue
Block a user