Skip to content

Commit 81e56c9

Browse files
Mesteerydanielleadams
authored andcommitted
doc: add missing buffer in the stream/consumers import example
PR-URL: #41961 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
1 parent 9649d65 commit 81e56c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/webstreams.md

+2
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,7 @@ They are accessed using:
13201320
import {
13211321
arrayBuffer,
13221322
blob,
1323+
buffer,
13231324
json,
13241325
text,
13251326
} from 'node:stream/consumers';
@@ -1329,6 +1330,7 @@ import {
13291330
const {
13301331
arrayBuffer,
13311332
blob,
1333+
buffer,
13321334
json,
13331335
text,
13341336
} = require('stream/consumers');

0 commit comments

Comments
 (0)