mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
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:
committed by
Mohamed Hegazy
parent
d7b48c9034
commit
2ae9025f50
+2
-1
@@ -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]>;
|
||||
|
||||
Reference in New Issue
Block a user