From e74d1b8db9966191555f115b9f865f3e5c22d6a0 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 23 Aug 2023 11:17:31 +0200 Subject: [PATCH] doc: fix typo in `stream.finished` documentation PR-URL: https://github.com/nodejs/node/pull/49271 Refs: https://nodejs.org/api/stream.html#streamfinishedstream-options Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: Qingyu Deng --- doc/api/stream.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index fcd43a8c45c05c..e9e92003cee379 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -278,7 +278,7 @@ run().catch(console.error); rs.resume(); // Drain the stream. ``` -The `finished` API provides [callback version][stream-finished]: +The `finished` API also provides a [callback version][stream-finished]. ### Object mode