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: nodejs#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 Ceres6 committed Aug 14, 2023
1 parent 745a9b7 commit 6e45450
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 6e45450

Please sign in to comment.