doc: fix typo in readline completer function section

PR-URL: https://github.com/nodejs/node/pull/48188
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
Vadym 2023-05-27 22:32:38 +03:00 committed by GitHub
parent 6d2811fbf2
commit f8b7154685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {