We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bff7de3 commit ed31bdeCopy full SHA for ed31bde
doc/api/stream.md
@@ -592,7 +592,7 @@ changes:
592
not operating in object mode, `chunk` must be a string, `Buffer` or
593
`Uint8Array`. For object mode streams, `chunk` may be any JavaScript value
594
other than `null`.
595
-* `encoding` {string} The encoding, if `chunk` is a string. **Default:** `'utf8'`
+* `encoding` {string|null} The encoding, if `chunk` is a string. **Default:** `'utf8'`
596
* `callback` {Function} Callback for when this chunk of data is flushed.
597
* Returns: {boolean} `false` if the stream wishes for the calling code to
598
wait for the `'drain'` event to be emitted before continuing to write
0 commit comments