From 9474739f9dd31ffeffb73e4fad78e64b7033e72d Mon Sep 17 00:00:00 2001 From: Oblosys Date: Thu, 14 Sep 2017 01:31:37 +0200 Subject: [PATCH] doc: fix emitKeypressEvents stream type --- doc/api/readline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/readline.md b/doc/api/readline.md index 603a5ec1888394..da5197b022128e 100644 --- a/doc/api/readline.md +++ b/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