Browse Source

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>
canary-base
Oblosys 8 years ago
committed by James M Snell
parent
commit
8bd1668ca5
  1. 2
      doc/api/readline.md

2
doc/api/readline.md

@ -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…
Cancel
Save