From d14ef7bddd584d54895591f0a8a55d281fcb7c1d Mon Sep 17 00:00:00 2001 From: Sean Lee <22858651+theseanl@users.noreply.github.com> Date: Wed, 25 Sep 2019 02:10:42 +0900 Subject: [PATCH] fix(node): replace reserved identifier in a function parameter (#38480) --- types/node/readline.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;