StreamDispatcher documented as extending WritableStream, not stream.Writable

This commit is contained in:
Amish Shah
2017-10-31 19:50:02 +00:00
parent 995cd181c9
commit 8efafb6a43

View File

@@ -12,7 +12,7 @@ const nonce = Buffer.alloc(24);
nonce.fill(0); nonce.fill(0);
/** /**
* @external Stream.writable * @external WritableStream
* @see {@link https://nodejs.org/api/stream.html#stream_class_stream_writable} * @see {@link https://nodejs.org/api/stream.html#stream_class_stream_writable}
*/ */
@@ -26,7 +26,7 @@ nonce.fill(0);
* }); * });
* ``` * ```
* @implements {VolumeInterface} * @implements {VolumeInterface}
* @extends {stream.Writable} * @extends {WritableStream}
*/ */
class StreamDispatcher extends Writable { class StreamDispatcher extends Writable {
constructor( constructor(