Skip to content

Commit ff66d63

Browse files
OblosysMylesBorins
authored andcommitted
doc: fix emitKeypressEvents stream type
PR-URL: #15399 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f659e49 commit ff66d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/readline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ added: v0.7.7
446446
* `stream` {Readable}
447447
* `interface` {readline.Interface}
448448

449-
The `readline.emitKeypressEvents()` method causes the given [Writable][]
449+
The `readline.emitKeypressEvents()` method causes the given [Readable][]
450450
`stream` to begin emitting `'keypress'` events corresponding to received input.
451451

452452
Optionally, `interface` specifies a `readline.Interface` instance for which

0 commit comments

Comments
 (0)