mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Updated createInterface Function
Added historySize?: number;, prompt?: string;, crlfDelay?: number;, and removeHistoryDuplicates?: boolean; to createInterfaceFunction
This commit is contained in:
committed by
GitHub
parent
af374b95e3
commit
3a40993a4d
Vendored
+1
-1
@@ -1588,7 +1588,7 @@ declare module "readline" {
|
||||
removeHistoryDuplicates?: boolean;
|
||||
}
|
||||
|
||||
export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): ReadLine;
|
||||
export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean, historySize?: number, prompt?: string, crlfDelay?: number, removeHistoryDuplicates?: boolean): ReadLine;
|
||||
export function createInterface(options: ReadLineOptions): ReadLine;
|
||||
|
||||
export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void;
|
||||
|
||||
Reference in New Issue
Block a user