Skip to content

Commit 3fa7116

Browse files
committed
fix as const
1 parent 1be86f8 commit 3fa7116

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/publisher/s3/src/PublisherS3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export default class PublisherS3 extends PublisherStatic<PublisherS3Config> {
4848
region: this.config.region,
4949
endpoint: this.config.endpoint,
5050
forcePathStyle: !!this.config.s3ForcePathStyle,
51-
requestChecksumCalculation: this.config.requestChecksumCalculation || "WHEN_SUPPORTED",
52-
responseChecksumValidation: this.config.responseChecksumValidation || "WHEN_SUPPORTED",
51+
requestChecksumCalculation: this.config.requestChecksumCalculation || "WHEN_SUPPORTED" as const,
52+
responseChecksumValidation: this.config.responseChecksumValidation || "WHEN_SUPPORTED" as const,
5353
});
5454

5555
d('creating s3 client with options:', this.config);

0 commit comments

Comments
 (0)