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.
This commit is contained in:
Matt Welke
2018-07-06 11:52:07 -07:00
committed by Mohamed Hegazy
parent d7b48c9034
commit 2ae9025f50
+2 -1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/GoogleCloudPlatform/google-cloud-node/tree/master/packages/storage
// Definitions by: Brian Love <https://github.com/blove>
// Nathan Brooker Perry <https://github.com/nbperry>
// Matt Welke <https://github.com/welkie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
@@ -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]>;