_Interface
constructor(input: ReadableStream, output: WritableStream = definedExternally, completer: Completer = definedExternally, terminal: Boolean = definedExternally)(source)
constructor(input: ReadableStream, output: WritableStream = definedExternally, completer: AsyncCompleter = definedExternally, terminal: Boolean = definedExternally)(source)
NOTE: According to the documentation:
Instances of the
readline.Interface
class are constructed using thereadline.createInterface()
method.
See also
https
://nodejs.org/dist/latest-v22.x/docs/api/readline.html#class-interfaceconstructor