Skip to content

Commit 61b27cb

Browse files
kevinresolstephenplusplus
authored andcommitted
Docs: WritableStream -> WriteStream (#1401)
* Docs: WritableStream -> WriteStream * Revert "Docs: WritableStream -> WriteStream" This reverts commit da96c27. * ReadableStream and WritableStream
1 parent 8ea1d2b commit 61b27cb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lib/bigquery/table.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ Table.prototype.copy = function(destination, metadata, callback) {
356356
*
357357
* @resource [Tabledata: list API Documentation]{@link https://cloud.google.com/bigquery/docs/reference/v2/tabledata/list}
358358
*
359-
* @return {ReadStream}
359+
* @return {ReadableStream}
360360
*
361361
* @example
362362
* var through2 = require('through2');
@@ -382,7 +382,7 @@ Table.prototype.createReadStream = function() {
382382
* The metadata object should be in the format of the
383383
* [`configuration.load`](http://goo.gl/BVcXk4) property of a Jobs resource.
384384
* If a string is given, it will be used as the filetype.
385-
* @return {WriteStream}
385+
* @return {WritableStream}
386386
*
387387
* @throws {Error} If source format isn't recognized.
388388
*

lib/storage/file.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ File.prototype.copy = function(destination, callback) {
438438
* NOTE: Byte ranges are inclusive; that is, `options.start = 0` and
439439
* `options.end = 999` represent the first 1000 bytes in a file or object.
440440
* NOTE: when specifying a byte range, data integrity is not available.
441+
* @return {ReadableStream}
441442
*
442443
* @example
443444
* //-
@@ -772,6 +773,7 @@ File.prototype.createResumableUpload = function(options, callback) {
772773
* MD5 checksum for maximum reliability. CRC32c will provide better
773774
* performance with less reliability. You may also choose to skip validation
774775
* completely, however this is **not recommended**.
776+
* @return {WritableStream}
775777
*
776778
* @example
777779
* var fs = require('fs');

0 commit comments

Comments
 (0)