fix(node): replace reserved identifier in a function parameter (#38480)

This commit is contained in:
Sean Lee 2019-09-25 02:10:42 +09:00 committed by Michael Crane
parent aa5c66c087
commit d14ef7bddd

View File

@ -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;