diff --git a/src/internal/client.ts b/src/internal/client.ts index c0d6d1e8..2413c6c4 100644 --- a/src/internal/client.ts +++ b/src/internal/client.ts @@ -45,7 +45,6 @@ import type { BucketItemStat, GetObjectLegalHoldOptions, IRequest, - LegalHoldStatus, ObjectLockConfigParam, ObjectLockInfo, PutObjectLegalHoldOptions, @@ -1044,13 +1043,13 @@ export class TypedClient { bucketName: string, objectName: string, getOpts?: GetObjectLegalHoldOptions, - callback?: ResultCallback, - ): Promise + callback?: ResultCallback, + ): Promise async getObjectLegalHold( bucketName: string, objectName: string, getOpts?: GetObjectLegalHoldOptions, - ): Promise { + ): Promise { if (!isValidBucketName(bucketName)) { throw new errors.InvalidBucketNameError('Invalid bucket name: ' + bucketName) }