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 MoLow committed Jul 6, 2023
1 parent 92e0ea4 commit e437a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/readline.md
Expand Up @@ -799,7 +799,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 e437a0a

Please sign in to comment.