Skip to content

Commit

Permalink
fix: explicitly define function type of getFilesStream (#1697)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelgrosso1 committed Nov 3, 2021
1 parent f337208 commit c950c23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bucket.ts
Expand Up @@ -63,6 +63,7 @@ import {
URLSigner,
Query,
} from './signer';
import {Readable} from 'stream';

interface SourceObject {
name: string;
Expand Down Expand Up @@ -628,7 +629,7 @@ class Bucket extends ServiceObject {
acl: Acl;
iam: Iam;

getFilesStream: Function;
getFilesStream: (query?: GetFilesOptions) => Readable;
signer?: URLSigner;

private instanceRetryValue?: boolean;
Expand Down

0 comments on commit c950c23

Please sign in to comment.