diff --git a/packages/storage/src/index.ts b/packages/storage/src/index.ts index c0923b44efa..06c52e118cc 100644 --- a/packages/storage/src/index.ts +++ b/packages/storage/src/index.ts @@ -33,6 +33,8 @@ export { GetUrlOutput, } from './providers/s3/types/outputs'; +export { TransferProgressEvent, TransferTaskState } from './types'; + // TODO[AllanZhengYP]: support isCancelError in Node.js with node-fetch export { isCancelError } from './errors/CanceledError'; export { StorageError } from './errors/StorageError'; diff --git a/packages/storage/src/types/index.ts b/packages/storage/src/types/index.ts index 4f82a8299b9..c85523a9c77 100644 --- a/packages/storage/src/types/index.ts +++ b/packages/storage/src/types/index.ts @@ -1,7 +1,12 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 -export { DownloadTask, TransferProgressEvent, UploadTask } from './common'; +export { + DownloadTask, + TransferProgressEvent, + TransferTaskState, + UploadTask, +} from './common'; export { StorageOperationInput, StorageListInput,