Skip to content

Commit acb32fc

Browse files
Oblosysaddaleax
authored andcommitted
doc: fix emitKeypressEvents stream type
PR-URL: nodejs/node#15399 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 97dd9ca commit acb32fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/readline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ added: v0.7.7
453453
* `stream` {Readable}
454454
* `interface` {readline.Interface}
455455

456-
The `readline.emitKeypressEvents()` method causes the given [Writable][]
456+
The `readline.emitKeypressEvents()` method causes the given [Readable][]
457457
`stream` to begin emitting `'keypress'` events corresponding to received input.
458458

459459
Optionally, `interface` specifies a `readline.Interface` instance for which

0 commit comments

Comments
 (0)