From f181c37e757301f1a56faf5036e9b53be2737a3b 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 8c1f3aa2051b5f..83b7391605f1c1 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