From adcccfe5aaeb3d22c78544bb0dd56f6707ba164d Mon Sep 17 00:00:00 2001 From: Vadym <40889760+devule@users.noreply.github.com> Date: Fri, 26 May 2023 15:34:04 +0300 Subject: [PATCH] doc: fix typo in readline completer function section --- 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) {