Skip to content

Commit 02548ad

Browse files
Mesteerybengl
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 c498a72 commit 02548ad

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
@@ -1380,6 +1380,7 @@ They are accessed using:
13801380
import {
13811381
arrayBuffer,
13821382
blob,
1383+
buffer,
13831384
json,
13841385
text,
13851386
} from 'node:stream/consumers';
@@ -1389,6 +1390,7 @@ import {
13891390
const {
13901391
arrayBuffer,
13911392
blob,
1393+
buffer,
13921394
json,
13931395
text,
13941396
} = require('stream/consumers');

0 commit comments

Comments
 (0)