Skip to content

Commit

Permalink
address suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
prakashsvmx committed Sep 1, 2023
1 parent f365cad commit e014662
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/internal/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ export class TypedClient {
}

setBucketReplication(bucketName: string, replicationConfig: ReplicationConfigOpts, callback: NoResultCallback): void
async setBucketReplication(bucketName: string, replicationConfig: ReplicationConfigOpts): Promise<void>
async setBucketReplication(bucketName: string, replicationConfig: ReplicationConfigOpts) {
if (!isValidBucketName(bucketName)) {
throw new errors.InvalidBucketNameError('Invalid bucket name: ' + bucketName)
Expand Down Expand Up @@ -1022,7 +1021,6 @@ export class TypedClient {
}

getBucketReplication(bucketName: string, callback: ResultCallback<ReplicationConfig>): void
async getBucketReplication(bucketName: string): Promise<ReplicationConfig>
async getBucketReplication(bucketName: string) {
if (!isValidBucketName(bucketName)) {
throw new errors.InvalidBucketNameError('Invalid bucket name: ' + bucketName)
Expand Down Expand Up @@ -1079,7 +1077,6 @@ export class TypedClient {
setOpts?: PutObjectLegalHoldOptions,
callback?: NoResultCallback,
): void
async setObjectLegalHold(bucketName: string, objectName: string, setOpts?: PutObjectLegalHoldOptions): Promise<void>
async setObjectLegalHold(
bucketName: string,
objectName: string,
Expand Down

0 comments on commit e014662

Please sign in to comment.