Merge pull request #17809 from McClellandLaboratories/patch-1

Adding missing readline createInterface options
This commit is contained in:
Ron Buckton
2017-07-07 16:08:39 -07:00
committed by GitHub

View File

@@ -1583,6 +1583,9 @@ declare module "readline" {
completer?: Completer | AsyncCompleter;
terminal?: boolean;
historySize?: number;
prompt?: string;
crlfDelay?: number;
removeHistoryDuplicates?: boolean;
}
export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): ReadLine;