diff --git a/types/node/readline.d.ts b/types/node/readline.d.ts index ed47fefeda..6cb572e313 100644 --- a/types/node/readline.d.ts +++ b/types/node/readline.d.ts @@ -127,7 +127,7 @@ declare module "readline" { function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface; function createInterface(options: ReadLineOptions): Interface; - function emitKeypressEvents(stream: NodeJS.ReadableStream, interface?: Interface): void; + function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; type Direction = -1 | 0 | 1;