Skip to content

Commit

Permalink
Fix: improve GetFilesResponse interface (#2466)
Browse files Browse the repository at this point in the history
* 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 <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
olishevskii and gcf-owl-bot[bot] authored May 14, 2024
1 parent d49e9d2 commit 918db28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ interface MetadataOptions {
ifMetagenerationNotMatch?: number | string;
}

export type GetFilesResponse = [File[], {}, unknown];
export type GetFilesResponse = [
File[],
(GetFilesOptions | {}) & Partial<Pick<GetFilesOptions, 'pageToken'>>,
unknown,
];
export interface GetFilesCallback {
(
err: Error | null,
Expand Down

0 comments on commit 918db28

Please sign in to comment.