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 <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Zeyu "Alex" Yang <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
  • Loading branch information
devule authored May 27, 2023
1 parent 6d2811f commit f8b7154
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 f8b7154

Please sign in to comment.