Skip to content

Commit

Permalink
doc: fix typo in readline completer function section
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
devule authored and targos committed May 30, 2023
1 parent 3c82165 commit 5f83ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5f83ce5

Please sign in to comment.