From 5f83ce530f9c0ca20c38f4387f73465db0bc6076 Mon Sep 17 00:00:00 2001 From: Vadym <40889760+devule@users.noreply.github.com> Date: Sat, 27 May 2023 22:32:38 +0300 Subject: [PATCH] doc: fix typo in readline completer function section PR-URL: https://github.com/nodejs/node/pull/48188 Reviewed-By: Marco Ippolito Reviewed-By: Darshan Sen Reviewed-By: Zeyu "Alex" Yang Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Daijiro Wachi --- doc/api/readline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/readline.md b/doc/api/readline.md index eaac5f8f79d579..034a285073ce6f 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -744,7 +744,7 @@ function completer(line) { } ``` -The `completer` function can also returns a {Promise}, or be asynchronous: +The `completer` function can also return a {Promise}, or be asynchronous: ```js async function completer(linePartial) {