Skip to content

Commit 2c0e1aa

Browse files
deokjinkimdanielleadams
authored andcommitted
doc: remove unused functions from example of streamConsumers.text
json, blob, and buffer are imported, but these functions are not used for example of `streamConsumers.text`. PR-URL: #46581 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent abeee99 commit 2c0e1aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/webstreams.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ added: v16.7.0
16111611
UTF-8 encoded string.
16121612
16131613
```mjs
1614-
import { json, text, blob, buffer } from 'node:stream/consumers';
1614+
import { text } from 'node:stream/consumers';
16151615
import { Readable } from 'node:stream';
16161616

16171617
const readable = Readable.from('Hello world from consumers!');

0 commit comments

Comments
 (0)