From 58e430e5daf4d68d4b5dbc5e8a2b0be407dc7d0e Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Thu, 9 Feb 2023 13:09:04 +0900 Subject: [PATCH] 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`. --- doc/api/webstreams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 62ee5726fd55dc..3595dba05cded2 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -1613,7 +1613,7 @@ added: v16.7.0 UTF-8 encoded string. ```mjs -import { json, text, blob, buffer } from 'node:stream/consumers'; +import { text } from 'node:stream/consumers'; import { Readable } from 'node:stream'; const readable = Readable.from('Hello world from consumers!');