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 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
Original file line number Diff line number Diff line change
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.