Update @types/google-cloud__storage (#20602)

The save method in the library uses a writeable stream. See https://nodejs.org/api/stream.html#stream_writable_end_chunk_encoding_callback. Also consider adding `any`.
This commit is contained in:
Justin Sprigg
2017-10-17 08:49:41 -07:00
committed by Andy
parent 7c4d884431
commit 60b5c04465
+1 -1
View File
@@ -134,7 +134,7 @@ declare namespace Storage {
makePublic(): Promise<[ApiResponse]>;
move(destination: string | Bucket | File): Promise<[File, ApiResponse]>;
name: string;
save(data: string, options?: WriteStreamOptions): Promise<void>;
save(data: string | Buffer, options?: WriteStreamOptions): Promise<void>;
setEncryptionKey(encryptionKey: string | Buffer): File;
setMetadata(metadata: FileMetadata): Promise<[ApiResponse]>;
metadata?: FileMetadata;