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:
Oblosys 2017-09-14 01:31:37 +02:00 committed by James M Snell
parent d8a0364ad5
commit 8bd1668ca5

View File

@ -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