From 2ae9025f50cae8dfc36e6ea8cbb8439a5dc8d6ba Mon Sep 17 00:00:00 2001 From: Matt Welke Date: Fri, 6 Jul 2018 14:52:07 -0400 Subject: [PATCH] Fixed Bucket.combine method type in @types/google-cloud__storage (#27105) * Fixed Bucket.combine method type. * Add name to definitions by comment, per readme instructions. * Bump version in header, per PR template instructions. * Fix brainfart. --- types/google-cloud__storage/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/google-cloud__storage/index.d.ts b/types/google-cloud__storage/index.d.ts index a614ea4982..9eb90db25a 100644 --- a/types/google-cloud__storage/index.d.ts +++ b/types/google-cloud__storage/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/GoogleCloudPlatform/google-cloud-node/tree/master/packages/storage // Definitions by: Brian Love // Nathan Brooker Perry +// Matt Welke // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// @@ -17,7 +18,7 @@ declare namespace Storage { class Bucket { constructor(storage: Storage, name: string); acl: Acl; - combine(sources: string[] | File[], destination: string[] | File[]): Promise<[File, ApiResponse]>; + combine(sources: string[] | File[], destination: string | File): Promise<[File, ApiResponse]>; create(config?: BucketConfig): Promise<[Bucket, ApiResponse]>; createChannel(id: string, config: ChannelConfig): Promise<[Channel, ApiResponse]>; delete(): Promise<[ApiResponse]>;