From 8bd1668ca5fe0b0d3f78609ba3d6bc173bce6f98 Mon Sep 17 00:00:00 2001 From: Oblosys Date: Thu, 14 Sep 2017 01:31:37 +0200 Subject: doc: fix emitKeypressEvents stream type PR-URL: https://github.com/nodejs/node/pull/15399 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/readline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/readline.md') diff --git a/doc/api/readline.md b/doc/api/readline.md index 603a5ec188..da5197b022 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 -- cgit v1.2.3