From 4a96d3479d126a4416b3d438a5946b4381522436 Mon Sep 17 00:00:00 2001 From: Maciej Radzikowski Date: Tue, 30 Aug 2022 14:10:40 +0200 Subject: [PATCH] docs: update lib-storage Upload example --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 05a3c52..7a86a69 100644 --- a/README.md +++ b/README.md @@ -260,6 +260,7 @@ used [under the hood](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-sto ```typescript import {S3Client, CreateMultipartUploadCommand, UploadPartCommand} from '@aws-sdk/client-s3'; +import {Upload} from "@aws-sdk/lib-storage"; const s3Mock = mockClient(S3Client); s3Mock.on(CreateMultipartUploadCommand).resolves({UploadId: '1'});