From 51f36b62ea7c8c5186c50536857355b13ebbc3a3 Mon Sep 17 00:00:00 2001 From: Alex <33497058+bexsoft@users.noreply.github.com> Date: Thu, 31 Aug 2023 01:47:32 -0600 Subject: [PATCH] Added missing properties for BucketItem Union Type (#1205) --- src/internal/type.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/internal/type.ts b/src/internal/type.ts index ec9499d1..109b0ce6 100644 --- a/src/internal/type.ts +++ b/src/internal/type.ts @@ -93,9 +93,13 @@ export type BucketItem = name: string size: number etag: string + prefix?: never lastModified: Date } | { + name?: never + etag?: never + lastModified?: never prefix: string size: 0 }