doc: fix emitKeypressEvents stream type
PR-URL: https://github.com/nodejs/node/pull/15399 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
d8a0364ad5
commit
8bd1668ca5
@ -453,7 +453,7 @@ added: v0.7.7
|
||||
* `stream` {Readable}
|
||||
* `interface` {readline.Interface}
|
||||
|
||||
The `readline.emitKeypressEvents()` method causes the given [Writable][]
|
||||
The `readline.emitKeypressEvents()` method causes the given [Readable][]
|
||||
`stream` to begin emitting `'keypress'` events corresponding to received input.
|
||||
|
||||
Optionally, `interface` specifies a `readline.Interface` instance for which
|
||||
|
Loading…
x
Reference in New Issue
Block a user