From 918db2818395488ff925324a9962879bb56368d7 Mon Sep 17 00:00:00 2001 From: Alex Olishevskii <77493533+olishevskii@users.noreply.github.com> Date: Tue, 14 May 2024 22:38:53 +0400 Subject: [PATCH] Fix: improve GetFilesResponse interface (#2466) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix: improve GetFilesResponse interface * fix: Improve GetFilesResponse interface * Fix: improve GetFilesResponse interface * Fix: improve GetFilesResponse interface * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- src/bucket.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bucket.ts b/src/bucket.ts index 7ea33e957..8757c4f50 100644 --- a/src/bucket.ts +++ b/src/bucket.ts @@ -87,7 +87,11 @@ interface MetadataOptions { ifMetagenerationNotMatch?: number | string; } -export type GetFilesResponse = [File[], {}, unknown]; +export type GetFilesResponse = [ + File[], + (GetFilesOptions | {}) & Partial>, + unknown, +]; export interface GetFilesCallback { ( err: Error | null,