Skip to content

Commit

Permalink
Added missing properties for BucketItem Union Type (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
bexsoft committed Aug 31, 2023
1 parent 091273e commit 51f36b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/internal/type.ts
Expand Up @@ -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
}
Expand Down

0 comments on commit 51f36b6

Please sign in to comment.